Repository: vscode
Issue: Line scrolling stops at folded regions
Labels: bug,editor-core

Type: <b>Bug</b>

Line scrolling with the shortcut <kbd>Ctrl</kbd>+<kbd>Down</kbd> stops when the first visible line in the editor is a folded (collapsed) region. Such a blocker cannot be overcome with the keyboard other than moving the cursor all the way down, or using the mouse wheel or the scroll bar.

Keyboard configuration:

```json
	{
		"key": "ctrl+down",
		"command": "editorScroll",
		"args":
		{
			"to": "down",
			"by": "line",
			"revealCursor": true
		},
		"when": "editorTextFocus"
	},
```

Scrolling up works, it's just the downwards direction that fails.

VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:59:02.252Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (8 x 3400)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off|
|Load (avg)|undefined|
|Memory (System)|15.71GB (7.30GB free)|
|Process Argv|C:\\Source\\Komprenu\\Kappa-Indect\\core-daemon-cs --crash-reporter-id 1b00a758-578c-4b77-a258-fe145c18e004|
|Screen Reader|no|
|VM|27%|
</details><details><summary>Extensions (24)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-solution-explorer|fer|0.7.5
vscode-todo-highlight|jgc|2.0.4
ecdc|mit|1.8.0
vscode-language-pack-de|MS-|1.74.12140926
csharp|ms-|1.25.2
vscode-dotnet-runtime|ms-|1.6.0
isort|ms-|2022.8.0
python|ms-|2022.20.2
vscode-pylance|ms-|2023.1.30
jupyter|ms-|2022.11.1003412109
jupyter-keymap|ms-|1.0.0
jupyter-renderers|ms-|1.0.14
vscode-jupyter-cell-tags|ms-|0.1.6
vscode-jupyter-slideshow|ms-|0.1.5
remote-ssh|ms-|0.94.0
remote-ssh-edit|ms-|0.84.0
cpptools|ms-|1.13.9
remote-explorer|ms-|0.0.3
vscode-nuget-gallery|pat|0.0.24
platformio-ide|pla|2.5.5
better-pageup-pagedown|rus|0.0.1
jinjahtml|sam|0.19.0
trailing-spaces|sha|0.4.1
cursorCharCode|zei|0.2.2

(1 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
pyindex848:30577860
nodejswelcome1cf:30587006
2e4cg342:30602488
pyind779cf:30647092
89544117:30613380

```

</details>

<!-- generated by issue reporter -->