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 SyntaxStyleDecode aSyntaxStyleobject 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 defaultSyntaxStylecorresponding 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-definedSyntaxStylecorresponding to a given token type.Settings.getSyntaxStyleOrDefault(int index) Obtain the currentSyntaxStylecorresponding to a given token type.Settings.getSyntaxStyles()Obtain the user-definedSyntaxStyles in the form of an array.Settings.getSyntaxStylesOrDefault()Obtain the currentSyntaxStyles in the form of an array.Methods in mars.settings with parameters of type SyntaxStyleModifier and TypeMethodDescriptionstatic StringSyntaxStyleSetting.encode(SyntaxStyle style) Encode aSyntaxStyleobject as a string of attributes separated by commas:Color=RGB: Specifies the color as an integerRGB.voidSyntaxStyleSetting.set(SyntaxStyle value) Set the value of this setting, updating persistent storage.voidSyntaxStyleSetting.setNonPersistent(SyntaxStyle value) Set the value of this setting without updating persistent storage.voidSettings.setSyntaxStyle(int index, SyntaxStyle style) Assign aSyntaxStyleto a given token type. -
Uses of SyntaxStyle in mars.venus.editor.jeditsyntax
Fields in mars.venus.editor.jeditsyntax declared as SyntaxStyleModifier and TypeFieldDescriptionTextAreaDefaults.stylesprotected SyntaxStyle[]TextAreaPainter.stylesMethods in mars.venus.editor.jeditsyntax that return SyntaxStyleModifier and TypeMethodDescriptionstatic SyntaxStyle[]SyntaxUtilities.getCurrentSyntaxStyles(Settings settings) Returns the CURRENT style table.static SyntaxStyleSyntaxUtilities.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 floatSyntaxUtilities.paintSyntaxLine(Segment line, Token tokens, SyntaxStyle[] styles, TabExpander expander, Graphics graphics, float x, float y) Paints the specified line onto the graphics context.final voidTextAreaPainter.setStyles(SyntaxStyle[] styles) Sets the syntax styles used to paint colorized text.