public class XmlMover extends LineMover
StatementUpDownMover.MoveInfoSTATEMENT_UP_DOWN_MOVER_EP| Constructor and Description |
|---|
XmlMover() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAvailable(Editor editor,
PsiFile file,
StatementUpDownMover.MoveInfo info,
boolean down) |
protected XmlElement |
getDestinationElement(PsiFile file,
XmlElement sourceElement,
int offset,
boolean forward) |
protected static XmlElement |
getMeaningfulElementAtOffset(PsiFile file,
int offset,
boolean forward,
Condition<? super PsiElement> condition) |
protected XmlElement |
getSourceElement(PsiFile file,
int offset,
boolean forward) |
protected TextRange |
getTagContentRange(XmlTag parent) |
checkLineMoverAvailable, getElementRangeafterMove, beforeMove, firstNonWhiteElement, firstNonWhiteElement, getElementRange, getLineRangeFromSelection, getLineStartSafeOffsetpublic boolean checkAvailable(Editor editor, PsiFile file, StatementUpDownMover.MoveInfo info, boolean down)
checkAvailable in class LineMoverprotected XmlElement getSourceElement(PsiFile file, int offset, boolean forward)
protected XmlElement getDestinationElement(PsiFile file, XmlElement sourceElement, int offset, boolean forward)
protected static XmlElement getMeaningfulElementAtOffset(PsiFile file, int offset, boolean forward, Condition<? super PsiElement> condition)