mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't execute mouse shorcut action after finishing middle mouse button drag (IDEA-53663)
This commit is contained in:
@@ -3774,6 +3774,7 @@ public final class EditorImpl extends UserDataHolderBase implements EditorEx, Hi
|
||||
if (isColumnMode() || e.isAltDown()) {
|
||||
final LogicalPosition blockStart = selectionModel.hasBlockSelection() ? selectionModel.getBlockStart() : oldLogicalCaret;
|
||||
selectionModel.setBlockSelection(blockStart, getCaretModel().getLogicalPosition());
|
||||
IdeEventQueue.getInstance().blockNextEvents(e); // don't process action on mouse released (IDEA-53663)
|
||||
}
|
||||
else {
|
||||
if (getMouseSelectionState() != MOUSE_SELECTION_STATE_NONE) {
|
||||
|
||||
Reference in New Issue
Block a user