fix formatting to conventions

This commit is contained in:
Ben Fry
2014-04-08 12:02:56 -04:00
parent be94a2abc8
commit ee417dc726
3 changed files with 10 additions and 10 deletions
+5 -4
View File
@@ -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.
+3 -5
View File
@@ -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;
+2 -1
View File
@@ -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