diff --git a/app/src/processing/app/Editor.java b/app/src/processing/app/Editor.java index 405b16b34..dd6ad5614 100644 --- a/app/src/processing/app/Editor.java +++ b/app/src/processing/app/Editor.java @@ -2655,7 +2655,6 @@ public class Editor extends JFrame implements RunnerListener { public TextAreaPopup() { openURLItem = new JMenuItem("Open URL"); openURLItem.addActionListener(new ActionListener() { - @Override public void actionPerformed(ActionEvent e) { Base.openURL(clickedURL); } diff --git a/app/src/processing/app/syntax/SyntaxUtilities.java b/app/src/processing/app/syntax/SyntaxUtilities.java index f6aa20e2b..1e3c6c900 100644 --- a/app/src/processing/app/syntax/SyntaxUtilities.java +++ b/app/src/processing/app/syntax/SyntaxUtilities.java @@ -211,7 +211,7 @@ public class SyntaxUtilities Segment tag = stringToSegment(parse[1]); Segment post = stringToSegment(parse[2]); - if (pre.length()>0) + if (pre.count>0) x = Utilities.drawTabbedText(pre, x, y, gfx, expander, 0); Font f = gfx.getFont(); @@ -219,7 +219,7 @@ public class SyntaxUtilities x = Utilities.drawTabbedText(tag, x, y, gfx, expander, 0); commentStyle.setGraphicsFlags(gfx, f); - if (post.length()>0) + if (post.count>0) x = Utilities.drawTabbedText(post, x, y, gfx, expander, 0); return x; }