public class XmlTagInsertHandler extends java.lang.Object implements InsertHandler<LookupElement>
Modifier and Type | Field and Description |
---|---|
static XmlTagInsertHandler |
INSTANCE |
Constructor and Description |
---|
XmlTagInsertHandler() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
addTail(char completionChar,
XmlElementDescriptor descriptor,
boolean isHtmlCode,
XmlTag tag,
Template template,
java.lang.StringBuilder indirectRequiredAttrs) |
void |
handleInsert(InsertionContext context,
LookupElement item)
Invoked inside atomic action.
|
static void |
insertIncompleteTag(char completionChar,
Editor editor,
XmlTag tag) |
public static final XmlTagInsertHandler INSTANCE
public void handleInsert(InsertionContext context, LookupElement item)
InsertHandler
handleInsert
in interface InsertHandler<LookupElement>
public static void insertIncompleteTag(char completionChar, Editor editor, XmlTag tag)
protected static boolean addTail(char completionChar, XmlElementDescriptor descriptor, boolean isHtmlCode, XmlTag tag, Template template, java.lang.StringBuilder indirectRequiredAttrs)