Interface SyntaxConstants

  • All Known Implementing Classes:
    FoldParserManager, RSyntaxDocument, RSyntaxTextArea, TextEditorPane

    public interface SyntaxConstants
    Constants that define the different programming languages understood by RSyntaxTextArea. These constants are the values you can pass to RSyntaxTextArea.setSyntaxEditingStyle(String) to get syntax highlighting.

    By default, all RSyntaxTextAreas can render all of these languages, but this can be changed (the list can be augmented or completely overwritten) on a per-text area basis. What languages can be rendered is actually managed by the TokenMakerFactory installed on the text area's RSyntaxDocument. By default, all RSyntaxDocumenets have a factory installed capable of handling all of these languages.