Inherits JFrame, and TableModelListener.
|
class | ScriptChangeListener |
|
|
static void | main (String args[]) |
|
|
static final int | EDIT = 1 |
|
static final int | PAUSED = 2 |
|
static final int | RUNNING = 3 |
|
static final String | newline = "\n" |
|
static final String | lineSep = System.getProperty("line.separator") |
|
|
void | setCode (String[] codeLines) |
|
|
AbstractDocument | doc |
|
StyledDocument | styledDoc |
|
Script | script = new Script("") |
|
SimpleAttributeSet[] | attrs |
|
DataStoreModel | model |
|
int | mode |
|
HashMap< String, Variable > | store = new HashMap<String, Variable>() |
|
|
static final int | MAX_CHARACTERS = 50000 |
|
A Java Swing QScript editor
There are no third party library dependencies for this editor.
A very simple QScript IDE. Allows to to trace through the evaluation of a QScript expression or algorithm.
- Author
- Peter Lager
org.qscript.editor.QScriptIDE.QScriptIDE |
( |
| ) |
|
Creates new QScript Editor
void org.qscript.editor.QScriptIDE.clearAllHighlights |
( |
| ) |
|
Used to clear any highlights added when tracing
static void org.qscript.editor.QScriptIDE.main |
( |
String |
args[] | ) |
|
|
static |
- Parameters
-
args | the command line arguments |
void org.qscript.editor.QScriptIDE.onScriptEvent |
( |
ScriptEvent |
event | ) |
|
This will handle all events fired by during parsing and evaluating of the script
- Parameters
-
event | the event to process |
void org.qscript.editor.QScriptIDE.setHighlight |
( |
int |
lineNo, |
|
|
int |
charPos, |
|
|
int |
charWidth, |
|
|
int |
style |
|
) |
| |
Hightlight the bit that is currently being evaluated
The documentation for this class was generated from the following file:
- /Users/peter/git/qscript-repos/Q-script/src/org/qscript/editor/QScriptIDE.java