diff --git a/app/src/processing/app/ui/Editor.java b/app/src/processing/app/ui/Editor.java index ae3a84d87..648747ff3 100644 --- a/app/src/processing/app/ui/Editor.java +++ b/app/src/processing/app/ui/Editor.java @@ -347,7 +347,7 @@ public abstract class Editor extends JFrame implements RunnerListener { protected JEditTextArea createTextArea() { - return new JEditTextArea(new PdeTextAreaDefaults(mode), + return new JEditTextArea(new PdeTextAreaDefaults(), new PdeInputHandler(this)); } @@ -535,6 +535,7 @@ public abstract class Editor extends JFrame implements RunnerListener { abstract public EditorToolbar createToolbar(); + @SuppressWarnings("unused") public EditorToolbar getToolbar() { return toolbar; } @@ -2168,6 +2169,7 @@ public abstract class Editor extends JFrame implements RunnerListener { * Check if the sketch is modified and ask user to save changes. * @return false if canceling the close/quit operation */ + @SuppressWarnings("BooleanMethodIsAlwaysInverted") public boolean checkModified() { if (!sketch.isModified()) return true; diff --git a/java/src/processing/mode/java/JavaEditor.java b/java/src/processing/mode/java/JavaEditor.java index 95cd3df4b..b4aba29af 100644 --- a/java/src/processing/mode/java/JavaEditor.java +++ b/java/src/processing/mode/java/JavaEditor.java @@ -176,7 +176,7 @@ public class JavaEditor extends Editor { protected JEditTextArea createTextArea() { - return new JavaTextArea(new PdeTextAreaDefaults(mode), this); + return new JavaTextArea(new PdeTextAreaDefaults(), this); } diff --git a/todo.txt b/todo.txt index 5711a9807..77b21e2c0 100755 --- a/todo.txt +++ b/todo.txt @@ -1,14 +1,14 @@ 1281 (4.0b6) X update to Java 17.0.2+8 -X move "Add Examples" to bottom of window +X move "Add Examples" to bottom of the Examples window +X remove anachronistic Preferences.save() that happens after opening a sketch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -class -_ make sure pdex/pdez files working, also on Windows - +_ errors when files removed during "git checkout " +_ the tab has already disappeared, so complains it can't find the SketchCode _ replace bug numbers _ http://dev.processing.org/bugs/show_bug.cgi?id=1188 @@ -27,6 +27,10 @@ _ several "Could not find a matching .properties file" with clocks pdex _ examples window is per-Mode, but that doesn't seem helpful _ just like sketchbook, you can open one from the other _ or maybe just contribs show everywhere? hrm +_ make sure pdex/pdez files working, also on Windows +_ contrib examples are just too convoluted to double-click +_ folders inside folders, bleh +_ what Mode are they for? _ pdez links for contribs, not just the .zip _ fix the code so that the contribs manager will handle it _ though that's bad for earlier contribs, hrm