diff --git a/app/src/processing/app/ui/Editor.java b/app/src/processing/app/ui/Editor.java index 0039ab18e..9bb480930 100644 --- a/app/src/processing/app/ui/Editor.java +++ b/app/src/processing/app/ui/Editor.java @@ -131,7 +131,7 @@ public abstract class Editor extends JFrame implements RunnerListener { protected CopyAsHtmlAction copyAsHtmlAction; protected PasteAction pasteAction; /** Menu Actions updated on the opening of the edit menu. */ - protected List editMenuUpdatable = new ArrayList(); + protected List editMenuUpdatable = new ArrayList<>(); /** The currently selected tab's undo manager */ private UndoManager undo; @@ -144,8 +144,8 @@ public abstract class Editor extends JFrame implements RunnerListener { // true if inserting text, false if removing text private boolean isInserting; // maintain caret position during undo operations - private final Stack caretUndoStack = new Stack(); - private final Stack caretRedoStack = new Stack(); + private final Stack caretUndoStack = new Stack<>(); + private final Stack caretRedoStack = new Stack<>(); private FindReplace find; JMenu toolsMenu; @@ -1069,7 +1069,7 @@ public abstract class Editor extends JFrame implements RunnerListener { sketchMenu.addMenuListener(new MenuListener() { // Menu Listener that populates the menu only when the menu is opened - List menuList = new ArrayList(); + List menuList = new ArrayList<>(); @Override public void menuSelected(MenuEvent event) { @@ -3162,14 +3162,14 @@ public abstract class Editor extends JFrame implements RunnerListener { bgColorError = mode.getColor("errors.selection.error.bgcolor"); } - Color bgColor = error ? //text.startsWith(Language.text("editor.status.error")) ? - bgColorError : bgColorWarning; - String content = "" + - "
" + message + "
"; - //System.out.println(content); + "font-size: " + Toolkit.zoom(font.getSize()) + "px;"; + String content = + "
" + message + "
"; comp.setToolTipText(content); } diff --git a/todo.txt b/todo.txt index 7629ab82b..9c2d7c066 100755 --- a/todo.txt +++ b/todo.txt @@ -8,9 +8,9 @@ X https://github.com/processing/processing/issues/4997 X Gap between tab headers and text area at 125% and 150% scaling on Windows X https://github.com/processing/processing/issues/4902 X Math.ceil() helps - -_ Small tooltip text on high-dpi screens +X Small tooltip text on high-dpi screens _ https://github.com/processing/processing/issues/4914 + _ some line heights are wrong on hidpi _ https://github.com/processing/processing/issues/4936 _ mode list does not update after changing sketchbook folder @@ -52,6 +52,10 @@ X https://github.com/processing/processing/issues/4668 _ redo console handling to not use Timer, fixing freeze-up problems _ https://github.com/processing/processing/pull/4935 _ https://github.com/processing/processing/issues/4825 +_ Make the change detector not reload the sketch +_ https://github.com/processing/processing/pull/5021 +_ https://github.com/processing/processing/issues/4713 +X https://github.com/processing/processing/pull/4849 awaiting confirmation (fixed in 3.3) X visual artifacts on Windows 10 when using menus