From ee417dc726f791f9822d0acd976ba9536a60cdc7 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Tue, 8 Apr 2014 12:02:56 -0400 Subject: [PATCH] fix formatting to conventions --- app/src/processing/app/Editor.java | 9 +++++---- app/src/processing/app/EditorStatus.java | 8 +++----- core/todo.txt | 3 ++- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/src/processing/app/Editor.java b/app/src/processing/app/Editor.java index d5f384c46..907d260a9 100644 --- a/app/src/processing/app/Editor.java +++ b/app/src/processing/app/Editor.java @@ -2551,21 +2551,22 @@ public abstract class Editor extends JFrame implements RunnerListener { } } + /** - * Returns the current notice message in the - * editor status bar. + * Returns the current notice message in the editor status bar. */ public String getStatusMessage(){ return status.message; } + /** - * Returns the current mode of the editor status bar - * NOTICE, ERR or EDIT + * Returns the current mode of the editor status bar: NOTICE, ERR or EDIT. */ public int getStatusMode(){ return status.mode; } + /** * Clear the status area. diff --git a/app/src/processing/app/EditorStatus.java b/app/src/processing/app/EditorStatus.java index 2a317502e..c99d45f31 100644 --- a/app/src/processing/app/EditorStatus.java +++ b/app/src/processing/app/EditorStatus.java @@ -36,11 +36,9 @@ public class EditorStatus extends JPanel { Color[] bgcolor; Color[] fgcolor; - public static final int NOTICE = 0; - public static final int ERR = 1; - //static final int PROMPT = 2; - //static final int EDIT = 3; - public static final int EDIT = 2; + static public final int NOTICE = 0; + static public final int ERR = 1; + static public final int EDIT = 2; static final int YES = 1; static final int NO = 2; diff --git a/core/todo.txt b/core/todo.txt index 33ad5e347..df3ebad7e 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -37,7 +37,8 @@ A https://github.com/processing/processing/issues/2416 A fix pixels[] array for video capture A https://github.com/processing/processing/issues/2424 - +_ tint() not working in PDF (regression from previous release) +_ https://github.com/processing/processing/issues/2428 _ XML.getChildren() fix _ https://github.com/processing/processing/issues/2367