public class TemplateEditorUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Editor |
createEditor(boolean isReadOnly,
java.lang.CharSequence text) |
static Editor |
createEditor(boolean isReadOnly,
java.lang.CharSequence text,
TemplateContext context) |
static Editor |
createEditor(boolean isReadOnly,
Document document,
Project project) |
static void |
disposeTemplateEditor(Editor templateEditor) |
static void |
setHighlighter(Editor editor,
TemplateContext templateContext) |
static void |
setHighlighter(Editor editor,
TemplateContextType templateContextType) |
public static Editor createEditor(boolean isReadOnly, java.lang.CharSequence text)
public static Editor createEditor(boolean isReadOnly, java.lang.CharSequence text, TemplateContext context)
public static Editor createEditor(boolean isReadOnly, Document document, Project project)
public static void setHighlighter(Editor editor, TemplateContext templateContext)
public static void setHighlighter(Editor editor, TemplateContextType templateContextType)
public static void disposeTemplateEditor(Editor templateEditor)