Package com.iizigo
Class EditorStyleRange
java.lang.Object
com.iizigo.EditorStyleRange
Style ranges used in Editors.
- Author:
- Christopher Mindus
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
The preset values.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.swt.custom.StyleRange
createStyleRange
(int item) Gets an new instance of the style range.
Field Details
SR_ERROR
public static final int SR_ERRORThe preset values.- See Also:
SR_TAGSYMBOL
public static final int SR_TAGSYMBOL- See Also:
SR_KEYWORD
public static final int SR_KEYWORD- See Also:
SR_COLON_EQUALS
public static final int SR_COLON_EQUALS- See Also:
SR_VARIABLE
public static final int SR_VARIABLE- See Also:
SR_STRING
public static final int SR_STRING- See Also:
SR_NOT
public static final int SR_NOT- See Also:
SR_OPERATOR
public static final int SR_OPERATOR- See Also:
SR_PARENTHESIS
public static final int SR_PARENTHESIS- See Also:
SR_TEXT
public static final int SR_TEXT- See Also:
Constructor Details
EditorStyleRange
public EditorStyleRange()
Method Details
createStyleRange
public static org.eclipse.swt.custom.StyleRange createStyleRange(int item) Gets an new instance of the style range.- Parameters:
item
- The item requested, one of SR_* constants.- Returns:
- A new StyleRange.