mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 06:21:50 +01:00
Scroll sync markdown editor with markdown preview (#44454)
Fixes #19459 Syncs the markdown preview's viewport with the markdown editor's using the proposed visible ranges API
This commit is contained in:
@@ -122,7 +122,7 @@ export class MainThreadTextEditorProperties {
|
||||
delta.visibleRanges = this.visibleRanges;
|
||||
}
|
||||
|
||||
if (delta.selections || delta.options) {
|
||||
if (delta.selections || delta.options || delta.visibleRanges) {
|
||||
// something changed
|
||||
return delta;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user