diff --git a/app/src/processing/app/ui/Editor.java b/app/src/processing/app/ui/Editor.java index 016143415..65efb27f0 100644 --- a/app/src/processing/app/ui/Editor.java +++ b/app/src/processing/app/ui/Editor.java @@ -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]) {