mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
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:
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user