extensions/markdown-language-features/src/preview/scrolling.ts/scrollEditorToLine
export function scrollEditorToLine(
	line: number,
	editor: vscode.TextEditor
) {
	const revealRange = toRevealRange(line, editor);
	editor.revealRange(revealRange, vscode.TextEditorRevealType.AtTop);
}