public class JSyntaxTextArea
extends RSyntaxTextArea
| Constructor and Description |
|---|
JSyntaxTextArea()
Deprecated.
|
JSyntaxTextArea(int rows,
int cols)
Creates the default syntax highlighting text area.
|
JSyntaxTextArea(int rows,
int cols,
boolean disableUndo)
Creates the default syntax highlighting text area.
|
| Modifier and Type | Method and Description |
|---|---|
protected RUndoManager |
createUndoManager()
Override UndoManager to allow disabling if feature causes issues
See https://github.com/bobbylight/RSyntaxTextArea/issues/19
|
void |
setInitialText(String string)
Sets initial text resetting undo history
|
void |
setLanguage(String language)
Sets the language of the text area.
|
@Deprecated public JSyntaxTextArea()
public JSyntaxTextArea(int rows,
int cols)
rows - The number of rows for the text areacols - The number of columns for the text areapublic JSyntaxTextArea(int rows,
int cols,
boolean disableUndo)
rows - The number of rows for the text areacols - The number of columns for the text areadisableUndo - true to disable undo manager, defaults to falsepublic void setLanguage(String language)
language - The language to be setprotected RUndoManager createUndoManager()
public void setInitialText(String string)
string - The initial text to be setCopyright © 1998-2016 Apache Software Foundation. All Rights Reserved.