Package mars.venus.editor.jeditsyntax
Class TextAreaDefaults
java.lang.Object
mars.venus.editor.jeditsyntax.TextAreaDefaults
Encapsulates default settings for a text area. This can be passed
to the constructor once the necessary fields have been filled out.
The advantage of doing this over calling lots of set() methods after
creating the text area is that this method is faster.
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
boolean
int
boolean
boolean
int
boolean
int
boolean
boolean
boolean
int
int
-
Constructor Summary
ConstructorsConstructorDescriptionTextAreaDefaults
(Settings settings) Constructs a new TextAreaDefaults object with the default values filled in. -
Method Summary
-
Field Details
-
inputHandler
-
document
-
editable
public boolean editable -
caretVisible
public boolean caretVisible -
caretBlinks
public boolean caretBlinks -
blockCaret
public boolean blockCaret -
caretBlinkRate
public int caretBlinkRate -
electricScroll
public int electricScroll -
tabSize
public int tabSize -
cols
public int cols -
rows
public int rows -
styles
-
backgroundColor
-
foregroundColor
-
caretForeground
-
selectionBackground
-
lineHighlightVisible
public boolean lineHighlightVisible -
lineHighlightColor
-
bracketHighlightVisible
public boolean bracketHighlightVisible -
bracketHighlightColor
-
eolMarkerVisible
public boolean eolMarkerVisible -
eolMarkerColor
-
paintInvalid
public boolean paintInvalid -
popup
-
-
Constructor Details
-
TextAreaDefaults
Constructs a new TextAreaDefaults object with the default values filled in.
-