StyleClassedTextArea with fixed-width font and an undo manager that observes
only plain text changes (not styled changes). It's style class is code-area.
| Access | Constructor and Description |
|---|---|
| public | CodeArea(EditableStyledDocument<Collection<String>, String, Collection<String>> document)
Creates an area that can render and edit the same |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | selectWord()
Overrides default org. Selects the word closest to the caret |
| public void | wordBreaksBackwards(int
is ignored ! n, NavigationActions.Overrides default org. Skips ONLY 1 number of word boundaries backwards. |
| public void | wordBreaksForwards(int
is ignored ! n, NavigationActions.Overrides default org. Skips ONLY 1 number of word boundaries forward. |
| WORD_OR_SYMBOL | back to summary |
|---|---|
| protected Pattern WORD_OR_SYMBOL | |
| WORD_PATTERN | back to summary |
|---|---|
| protected Pattern WORD_PATTERN | |
| CodeArea | back to summary |
|---|---|
| public CodeArea(EditableStyledDocument<Collection<String>, String, Collection<String>> document) Creates an area that can render and edit the same | |
| CodeArea | back to summary |
|---|---|
| public CodeArea() Creates an area with no text. | |
| CodeArea | back to summary |
|---|---|
| public CodeArea(String text) Creates a text area with initial text content. Initial caret position is set at the beginning of text content.
| |
| selectWord | back to summary |
|---|---|
| public void selectWord() Overrides default org. Doc from org. Selects the word closest to the caret
| |
| wordBreaksBackwards | back to summary |
|---|---|
| public void wordBreaksBackwards(int n, NavigationActions. Overrides default org. Skips ONLY 1 number of word boundaries backwards.
| |
| wordBreaksForwards | back to summary |
|---|---|
| public void wordBreaksForwards(int n, NavigationActions. Overrides default org. Skips ONLY 1 number of word boundaries forward.
| |