public class XmlSmartEnterProcessor extends SmartEnterProcessor
| Constructor and Description |
|---|
XmlSmartEnterProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getClosingPart(XmlAttribute xmlAttribute,
XmlTag tagAtCaret,
boolean emptyTag) |
protected static java.lang.CharSequence |
getClosingQuote(XmlAttribute attribute) |
protected static boolean |
isTagUnclosed(PsiElement lastChild) |
boolean |
process(Project project,
Editor editor,
PsiFile psiFile) |
protected boolean |
shouldAfterWrapTextWithTag(int caretAt,
int probableCommaOffset) |
protected boolean |
shouldInsertClosingTag(XmlAttribute xmlAttribute,
XmlTag tagAtCaret) |
commit, commitDocument, createRangeMarker, getStatementAtCaret, isUncommited, processAfterCompletion, reformatpublic boolean process(Project project, Editor editor, PsiFile psiFile)
process in class SmartEnterProcessorprotected boolean shouldAfterWrapTextWithTag(int caretAt,
int probableCommaOffset)
protected static boolean isTagUnclosed(PsiElement lastChild)
protected boolean shouldInsertClosingTag(XmlAttribute xmlAttribute, XmlTag tagAtCaret)
protected java.lang.String getClosingPart(XmlAttribute xmlAttribute, XmlTag tagAtCaret, boolean emptyTag)
protected static java.lang.CharSequence getClosingQuote(XmlAttribute attribute)