TextEditor question

… again :slight_smile:

Is there a way for a TextEditor subclass to track its parent viewport scrolling ?

I couldn’t find one that would not involve heavy copy/paste or modification of juce code.

That kind of thing would enable implementation of various text overlays in subclasses, like line numbers for instance…

Thanks.

Hmm. No, I guess you’d need some kind of listener for viewports, and I’ve not done one of those.