CodeEditorComponent notify when scrolled?

Would it be possible add a virtual method to CodeEditorComponent which gets called during CodeEditorComponent::scrollToLineInternal(); I'm drawing my own gutter component and I need to know when the editor has been scrolled so that I can update the line numbers accordingly.