mirror of
https://github.com/processing/processing4.git
synced 2026-02-15 03:15:40 +01:00
Merge branch 'master' of github.com:jdf/processing
This commit is contained in:
@@ -2550,6 +2550,22 @@ public abstract class Editor extends JFrame implements RunnerListener {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
public int getStatusMode(){
|
||||
return status.mode;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Clear the status area.
|
||||
|
||||
@@ -36,11 +36,9 @@ public class EditorStatus extends JPanel {
|
||||
Color[] bgcolor;
|
||||
Color[] fgcolor;
|
||||
|
||||
static final int NOTICE = 0;
|
||||
static final int ERR = 1;
|
||||
//static final int PROMPT = 2;
|
||||
//static final int EDIT = 3;
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user