mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix outdated test for shift down
This commit is contained in:
@@ -2481,7 +2481,7 @@ public class JEditTextArea extends JComponent
|
||||
|
||||
|
||||
private void doSingleClick(MouseEvent evt, int line, int offset, int dot) {
|
||||
if ((evt.getModifiers() & InputEvent.SHIFT_MASK) != 0) {
|
||||
if (evt.isShiftDown()) {
|
||||
select(getMarkPosition(),dot);
|
||||
} else {
|
||||
setCaretPosition(dot);
|
||||
|
||||
Reference in New Issue
Block a user