mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-159092 Middle mouse double click does selection in editor
This commit is contained in:
@@ -6038,7 +6038,7 @@ public final class EditorImpl extends UserDataHolderBase implements EditorEx, Hi
|
||||
mySelectionModel.setSelection(caretOffset, caretOffset);
|
||||
}
|
||||
else {
|
||||
if (!e.isPopupTrigger()
|
||||
if (e.getButton() == MouseEvent.BUTTON1
|
||||
&& (eventArea == EditorMouseEventArea.EDITING_AREA || eventArea == EditorMouseEventArea.LINE_NUMBERS_AREA)
|
||||
&& (!toggleCaret || lastPressCreatedCaret)) {
|
||||
switch (e.getClickCount()) {
|
||||
|
||||
Reference in New Issue
Block a user