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 - cols - public JSyntaxTextArea(int rows,
int cols,
boolean disableUndo)
rows - cols - disableUndo - true to disable undo manager, defaults to falsepublic void setLanguage(String language)
language - protected RUndoManager createUndoManager()
public void setInitialText(String string)
string - Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved.