- if (inSelection) {
- selectionColumn1 = leftColumn + mouse.getX();
- selectionLine1 = topLine + mouse.getY();
- } else if (mouse.isShift()) {
- inSelection = true;
- selectionColumn0 = leftColumn + mouse.getX();
- selectionLine0 = topLine + mouse.getY();
- selectionColumn1 = selectionColumn0;
- selectionLine1 = selectionLine0;
- }
+ inSelection = true;
+ selectionColumn0 = leftColumn + mouse.getX();
+ selectionLine0 = topLine + mouse.getY();
+ selectionColumn1 = selectionColumn0;
+ selectionLine1 = selectionLine0;