
I don't seem to find that the editor can subscribe to scroll events.
I need an event that changes only when the scroll bar is scrolled or the visible area range changes.
In this way, I want to realize the code coloring function of the current visible area.
For me, getting ClassificationTag data is a time-consuming request and should not be executed through the main thread. So I want to know that the current visible area has changed in the event, and then use a background thread to get the data and update the ClassificationTag data.