提交 be7af0e8 编写于 作者: S Steve Shreeve 提交者: Alex Dima

Improve column selection by setting origin to clicked position

In conjunction with setting `editor.multiCursorModifier` to `ctrlCmd`, this yields a much more natural `alt+click` experience. The goofier `shift+alt+click` that is the default uses the _prior_ cursor position as the start point of the column selection.
上级 d14a2be8
......@@ -193,7 +193,11 @@ export class ViewController {
}
} else {
if (data.inSelectionMode) {
this._moveToSelect(data.position);
if (data.altKey) {
this._columnSelect(data.position, data.mouseColumn);
} else {
this._moveToSelect(data.position);
}
} else {
this.moveTo(data.position);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册