| Package | Description | 
|---|---|
| org.jeditor.core | 
 This package contains the core syntax classes of the library. 
 | 
| org.jeditor.gui | 
 The presentation package for managing scripts presentation and modification. 
 | 
| org.jeditor.scripts.base | 
 Contains the generic package for syntax management. 
 | 
| org.jeditor.scripts.tokenmarkers | 
 Contains various scripts syntax. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
SyntaxDocument | 
CodeEditorDefaults.document  | 
| Modifier and Type | Method and Description | 
|---|---|
SyntaxDocument | 
Word.getDocument()
Return the document. 
 | 
SyntaxDocument | 
TokenizedDocument.getSyntaxDocument()
Return the document. 
 | 
static SyntaxDocument | 
TextUtilities.getSyntaxDocument(java.lang.String text,
                 java.lang.String syntax)
Return a SyntaxDocument from a text. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
SyntaxListener.documentUpdated(SyntaxDocument document)
Called when a document is updated.Do nothing by default. 
 | 
static Word | 
TextUtilities.getWord(SyntaxDocument document,
       int offset)
Return the word corresponding to an offset in a SyntaxDocument. 
 | 
default void | 
SyntaxListener.startTokenize(SyntaxDocument document)
Called when a document is tokenized.Do nothing by default. 
 | 
| Constructor and Description | 
|---|
TokenizedDocument(SyntaxDocument doc)  | 
| Modifier and Type | Method and Description | 
|---|---|
SyntaxDocument | 
JEditor.getSyntaxDocument()
Convenience method (returns same Document as getDocument()). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
JEditor.setDocument(SyntaxDocument document)
Sets the document this editor is editing. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
TokenMarker.getLineOffsetString(CodeEditorDefaults defaults,
                   SyntaxDocument document,
                   int offset)
Return the String offset at a specified position. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
CSSTokenMarker.getLineOffsetString(CodeEditorDefaults defaults,
                   SyntaxDocument document,
                   int offset)
Return the String offset at a specified position. 
 | 
java.lang.String | 
CTokenMarker.getLineOffsetString(CodeEditorDefaults defaults,
                   SyntaxDocument document,
                   int offset)
Return the String offset at a specified position. 
 | 
java.lang.String | 
HTMLTokenMarker.getLineOffsetString(CodeEditorDefaults defaults,
                   SyntaxDocument document,
                   int offset)
Return the String offset at a specified position. 
 | 
java.lang.String | 
XMLTokenMarker.getLineOffsetString(CodeEditorDefaults defaults,
                   SyntaxDocument document,
                   int offset)
Return the String offset at a specified position. 
 | 
Copyright © 2016, 2017, 2018, 2019, 2023, 2025 Herve Girod. All Rights Reserved. Documentation and source under the MIT licence