Skip to content

Commit 3482853

Browse files
authored
Update code style: added space after 'if' before the condition to comply with style guidelines.
1 parent 44788e3 commit 3482853

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/processing/app/ui/Editor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1959,7 +1959,7 @@ public void handleMoveLines(boolean moveUp) {
19591959
startCompoundEdit();
19601960
boolean isSelected = false;
19611961

1962-
if(textarea.isSelectionActive())
1962+
if (textarea.isSelectionActive())
19631963
isSelected = true;
19641964

19651965
int caretPos = textarea.getCaretPosition();
@@ -2031,7 +2031,7 @@ public void handleMoveLines(boolean moveUp) {
20312031
}
20322032
stopCompoundEdit();
20332033

2034-
if(isSelected)
2034+
if (isSelected)
20352035
SwingUtilities.invokeLater(() -> {
20362036
textarea.select(newSelectionStart, newSelectionEnd-1);
20372037
});

0 commit comments

Comments
 (0)