Refactor code style to comply with style guidelines: removed unnecessary whitespace and added two blank lines between function blocks for improved readability.

This commit is contained in:
Yehia Rasheed
2025-03-13 13:59:40 +02:00
committed by GitHub
parent ab318974f3
commit 44788e310e
+3 -2
View File
@@ -844,7 +844,6 @@ public abstract class Editor extends JFrame implements RunnerListener {
editMenuUpdatable.add(action);
menu.add(item);
// Update copy/cut state on selection/de-selection
menu.addMenuListener(new MenuListener() {
// UndoAction and RedoAction do this for themselves.
@@ -1889,7 +1888,6 @@ public abstract class Editor extends JFrame implements RunnerListener {
}
public void handleIndent() {
handleIndentOutdent(true);
}
@@ -1943,6 +1941,8 @@ public abstract class Editor extends JFrame implements RunnerListener {
stopCompoundEdit();
sketch.setModified(true);
}
/**
* Moves the selected lines up or down in the text editor.
*
@@ -2046,6 +2046,7 @@ public abstract class Editor extends JFrame implements RunnerListener {
}
}
static public boolean checkParen(char[] array, int index, int stop) {
while (index < stop) {
switch (array[index]) {