Open
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.60.0-insider
- OS Version: Windows 10
Steps to Reproduce:
-
Set
"editor.cursorSurroundingLines": 10
insettings.json
. -
Add the following keybindings into
keybindings.json
:[ { "key": "ctrl+up", "command": "-scrollLineUp", "when": "textInputFocus" }, { "key": "ctrl+up", "command": "editorScroll", "when": "textInputFocus", "args": { "to": "up", "value": 10, "by": "line", "revealCursor": true } }, { "key": "ctrl+down", "command": "-scrollLineDown", "when": "textInputFocus" }, { "key": "ctrl+down", "command": "editorScroll", "when": "textInputFocus", "args": { "to": "down", "value": 10, "by": "line", "revealCursor": true } } ]
-
Use Ctrl+Up or Ctrl+Down across pages in a long file.
-
The cursor position may appear at the top or at the bottom in the process,
editor.cursorSurroundingLines
is not respected.