Merge pull request #1003 from danyaPostfactum/gutter
Gutter double click for selectAll
This commit is contained in:
commit
f614cb46ac
1 changed files with 6 additions and 2 deletions
|
|
@ -50,9 +50,13 @@ function GutterHandler(mouseHandler) {
|
|||
|
||||
if (e.getShiftKey())
|
||||
selection.selectTo(row, 0);
|
||||
else
|
||||
else {
|
||||
if (e.domEvent.detail == 2) {
|
||||
editor.selectAll();
|
||||
return e.preventDefault();
|
||||
}
|
||||
mouseHandler.$clickSelection = editor.selection.getLineRange(row);
|
||||
|
||||
}
|
||||
mouseHandler.captureMouse(e, "selectByLines");
|
||||
return e.preventDefault();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue