The editor pane is displayed in the form specified by your editor options; that is, it is user-specific. For details, see "Maintaining the Editor Display", "Maintaining Editor Options", and "Maintaining Source Management Options", under "Setting User Preferences", in Chapter 2.
Use the editor pane to:
Define new methods or conditions in the selected class, primitive type, or interface (for details, see "Defining and Compiling JADE Methods and Conditions", in Chapter 4)
Maintain existing methods and conditions
Compile methods and conditions
Execute methods in the JadeScript class of the Class Browser (if selected)
Change or rename an entity (for example, a property, local constant, variable, or method parameter) selected within the body of a method in the editor pane (for details, see "Renaming or Changing an Entity", in Chapter 4)
Use the scroll bar to scroll up and down the editor pane, if required.
To toggle the display of the editor pane in the current browser (that is, override the Integrated Editor check box value in the Browser sheet of the Preferences dialog), select the Editor Window command from the View menu.
JADE separates the keywords that are valid in a method from those that are valid only in a schema file so that the editor pane and AutoComplete feature use the list valid for the context; that is, method keywords rather than schema file keywords. Schema keywords are used only when displaying a schema file when a schema load fails because of syntax errors in the schema file being loaded. (For details about the AutoComplete feature, see "Using JADE AutoComplete Functionality", in Chapter 2.)
The JADE installation default display of JADE elements in the editor pane is listed in the following table.
Element | Default Display Color |
---|---|
Background | Light yellow |
Instructions (keywords) | Blue |
Method elements (for example, vars, on, and epilog) | Blue |
String and numeric literals | Red |
Global constants | Purple |
Primitive, system, and user types | Green |
Imported packages | Green |
Interfaces | Green |
Special characters | Black |
Debug (breakpoint) line | Yellow |
Debug step line | Light blue |
Identifiers (for example, instance variables) | Black |
Comments and indent guides | Dark gray |
Edge marker | Light blue |
Margin and selected text background | Light gray |
Caret background | Light green |
Linemarks | Light turquoise |
Selected text (selection foreground) | Transparent |
Caret | Black |
Dollar identifiers (for example, in translatable strings and user formats) | Green |
Method (AutoComplete) (instance methods) | Brown |
Property (AutoComplete) | Light blue |
Additional Selections (background color of other text in the method that matches the current selection; for example, opening and closing parenthesis and bracket pairs) | Lime green |
TypeMethod (AutoComplete) | Faded blue |