- case 3:
- if (HONOR_CAMEL_HUMPS_ON_TRIPLE_CLICK && mySettings.isCamelWords()) {
- // We want to differentiate between triple and quadruple clicks when 'select by camel humps' is on. The former
- // is assumed to select 'hump' while the later points to the whole word.
- selectWordAtCaret(false);
+ case 3:
+ if (HONOR_CAMEL_HUMPS_ON_TRIPLE_CLICK && mySettings.isCamelWords()) {
+ // We want to differentiate between triple and quadruple clicks when 'select by camel humps' is on. The former
+ // is assumed to select 'hump' while the later points to the whole word.
+ selectWordAtCaret(false);
+ break;
+ }
+ //noinspection fallthrough
+ case 4:
+ mySelectionModel.selectLineAtCaret();
+ setMouseSelectionState(MOUSE_SELECTION_STATE_LINE_SELECTED);
+ mySavedSelectionStart = mySelectionModel.getSelectionStart();
+ mySavedSelectionEnd = mySelectionModel.getSelectionEnd();
+ mySelectionModel.setUnknownDirection(true);