You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an API for monitoring when the viewport (defined by at least the first visible line and last visible line) of a text editor changes. This could enable extension developers to synchronize scrolling between files, similar to how the diff view currently works.
The viewport can change in a number of ways, including:
Scrolling
File editing
Navigation
#5047 is for scrolling syntonization specifically, but I think we would likely want to handle any viewport changes in a uniform way.
Let me know if you have any thoughts on the API or potential use cases that we should consider when designing the API
Reacted by Sebastian Pawluś, Gabriel Ebner, Kevin Weis, Horace He, Daniel, Alexander J. Lallier, Pejman, Michael Leonard, Lindvorn, Tom Alon and 7 more
Activity
mjbvz commentedon Sep 20, 2018
The
onDidChangeTextEditorVisibleRangesapi covers this