fix outdated test for shift down

This commit is contained in:
Ben Fry
2019-10-07 19:08:23 -04:00
parent a8095977a0
commit e8c036434c
@@ -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);