Uses of Class
mars.venus.editor.jeditsyntax.SyntaxStyle
Packages that use SyntaxStyle
-
Uses of SyntaxStyle in mars.settings
Methods in mars.settings that return SyntaxStyleModifier and TypeMethodDescriptionstatic SyntaxStyle
Decode aSyntaxStyle
object from a string of attributes separated by commas:Color=RGB
: Sets the color to integerRGB
.SyntaxStyleSetting.get()
Get the value currently stored in this setting.SyntaxStyleSetting.getDefault()
Get the theme default value for this setting.Settings.getDefaultSyntaxStyle
(int index) Obtain the defaultSyntaxStyle
corresponding to a given token type.SyntaxStyleSetting.getOrDefault()
Get the value currently stored in this setting if it is notnull
, or the theme default returned bySyntaxStyleSetting.getDefault()
otherwise.Settings.getSyntaxStyle
(int index) Obtain the user-definedSyntaxStyle
corresponding to a given token type.Settings.getSyntaxStyleOrDefault
(int index) Obtain the currentSyntaxStyle
corresponding to a given token type.Settings.getSyntaxStyles()
Obtain the user-definedSyntaxStyle
s in the form of an array.Settings.getSyntaxStylesOrDefault()
Obtain the currentSyntaxStyle
s in the form of an array.Methods in mars.settings with parameters of type SyntaxStyleModifier and TypeMethodDescriptionstatic String
SyntaxStyleSetting.encode
(SyntaxStyle style) Encode aSyntaxStyle
object as a string of attributes separated by commas:Color=RGB
: Specifies the color as an integerRGB
.void
SyntaxStyleSetting.set
(SyntaxStyle value) Set the value of this setting, updating persistent storage.void
SyntaxStyleSetting.setNonPersistent
(SyntaxStyle value) Set the value of this setting without updating persistent storage.void
Settings.setSyntaxStyle
(int index, SyntaxStyle style) Assign aSyntaxStyle
to a given token type. -
Uses of SyntaxStyle in mars.venus.editor.jeditsyntax
Fields in mars.venus.editor.jeditsyntax declared as SyntaxStyleModifier and TypeFieldDescriptionTextAreaDefaults.styles
protected SyntaxStyle[]
TextAreaPainter.styles
Methods in mars.venus.editor.jeditsyntax that return SyntaxStyleModifier and TypeMethodDescriptionstatic SyntaxStyle[]
SyntaxUtilities.getCurrentSyntaxStyles
(Settings settings) Returns the CURRENT style table.static SyntaxStyle
SyntaxUtilities.getDefaultSyntaxStyle()
Returns the default style table.final SyntaxStyle[]
TextAreaPainter.getStyles()
Returns the syntax styles used to paint colorized text.Methods in mars.venus.editor.jeditsyntax with parameters of type SyntaxStyleModifier and TypeMethodDescriptionstatic float
SyntaxUtilities.paintSyntaxLine
(Segment line, Token tokens, SyntaxStyle[] styles, TabExpander expander, Graphics graphics, float x, float y) Paints the specified line onto the graphics context.final void
TextAreaPainter.setStyles
(SyntaxStyle[] styles) Sets the syntax styles used to paint colorized text.