public abstract static class InitialScrollPositionSupport.TwosideInitialScrollHelper extends InitialScrollPositionSupport.InitialScrollHelperBase
Modifier and Type | Field and Description |
---|---|
protected DiffNavigationContext |
myNavigationContext |
protected Pair<Side,java.lang.Integer> |
myScrollToLine |
myCaretPosition, myEditorsPosition, myScrollToChange, myShouldScroll
Constructor and Description |
---|
TwosideInitialScrollHelper() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
doScrollToChange() |
protected abstract boolean |
doScrollToContext() |
protected abstract boolean |
doScrollToFirstChange() |
protected abstract boolean |
doScrollToLine() |
void |
onRediff() |
void |
onSlowRediff() |
void |
processContext(DiffRequest request) |
void |
updateContext(DiffRequest request) |
protected DiffNavigationContext myNavigationContext
public void processContext(DiffRequest request)
processContext
in class InitialScrollPositionSupport.InitialScrollHelperBase
public void updateContext(DiffRequest request)
updateContext
in class InitialScrollPositionSupport.InitialScrollHelperBase
public void onSlowRediff()
public void onRediff()
protected abstract boolean doScrollToChange()
protected abstract boolean doScrollToFirstChange()
protected abstract boolean doScrollToContext()
protected abstract boolean doScrollToLine()