diff options
-rw-r--r-- | src/Editor.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 11f7a161b..b5143090b 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1021,9 +1021,6 @@ void Editor::EnsureCaretVisible(bool useMargin, bool vert, bool horiz) { yMarginB = linesOnScreen - yMarginT - 1; } } - if (bJump) { - yMoveT = Platform::Clamp(caretYSlop * 3, 1, halfScreen); - } yMoveT = yMarginT; if (bEven) { if (bJump) { |