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.
|
Modifier and Type | Field and Description |
---|---|
SyntaxDocument |
CodeEditorDefaults.document |
Modifier and Type | Method and Description |
---|---|
SyntaxDocument |
Word.getDocument()
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 |
---|---|
static Word |
TextUtilities.getWord(SyntaxDocument document,
int offset)
Return the word corresponding to an offset in a SyntaxDocument.
|
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.
|
Copyright © 2016, 2017, 2018, 2019, 2023 Herve Girod. All Rights Reserved. Documentation and source under the MIT licence