public class LineMover extends StatementUpDownMover
StatementUpDownMover.MoveInfoSTATEMENT_UP_DOWN_MOVER_EP| Constructor and Description |
|---|
LineMover() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAvailable(Editor editor,
PsiFile file,
StatementUpDownMover.MoveInfo info,
boolean down) |
static boolean |
checkLineMoverAvailable(Editor editor,
StatementUpDownMover.MoveInfo info,
boolean down) |
protected static Pair<PsiElement,PsiElement> |
getElementRange(PsiElement parent,
PsiElement element1,
PsiElement element2) |
afterMove, beforeMove, firstNonWhiteElement, firstNonWhiteElement, getElementRange, getLineRangeFromSelection, getLineStartSafeOffsetpublic boolean checkAvailable(Editor editor, PsiFile file, StatementUpDownMover.MoveInfo info, boolean down)
checkAvailable in class StatementUpDownMoverpublic static boolean checkLineMoverAvailable(Editor editor, StatementUpDownMover.MoveInfo info, boolean down)
protected static Pair<PsiElement,PsiElement> getElementRange(PsiElement parent, PsiElement element1, PsiElement element2)