public class CodeMirrorTextArea
extends TextArea
Constructor and Description |
---|
CodeMirrorTextArea() |
CodeMirrorTextArea(CodeMirrorConfig cmc) |
CodeMirrorTextArea(java.lang.String mode) |
Modifier and Type | Method and Description |
---|---|
void |
addText(java.lang.String text) |
void |
addText(java.lang.String text,
java.lang.Object pos) |
void |
adjustSize() |
void |
adjustSize(int w,
int h) |
void |
appendText(java.lang.String text) |
void |
enableCodeMirrorPlugins(HookHandlerService hookHandler) |
CodeMirror |
getCodeMirror() |
CodeMirrorConfig |
getCodeMirrorConfig() |
java.lang.Object |
getCodeMirrorCursorPos() |
java.lang.String |
getCurrentValue() |
java.lang.String |
getTextAreaId() |
java.lang.String |
getValue() |
void |
scrollTo(int position) |
void |
setValue(java.lang.String value) |
void |
setValue(java.lang.String value,
boolean fireEvents) |
void |
setValue(java.lang.String value,
boolean fireEvents,
boolean redraw) |
public CodeMirrorTextArea(CodeMirrorConfig cmc)
public CodeMirrorTextArea(java.lang.String mode)
public CodeMirrorTextArea()
public void adjustSize()
public void adjustSize(int w, int h)
public void scrollTo(int position)
public void enableCodeMirrorPlugins(HookHandlerService hookHandler)
public void setValue(java.lang.String value)
public void setValue(java.lang.String value, boolean fireEvents)
public void setValue(java.lang.String value, boolean fireEvents, boolean redraw)
public java.lang.String getCurrentValue()
public java.lang.String getValue()
public CodeMirror getCodeMirror()
public CodeMirrorConfig getCodeMirrorConfig()
public void addText(java.lang.String text)
public void addText(java.lang.String text, java.lang.Object pos)
public java.lang.Object getCodeMirrorCursorPos()
public void appendText(java.lang.String text)
public java.lang.String getTextAreaId()