Provides interfaces for listening to events in the text editor (mouse motion, scrolling, caret movement and selection changes and so on).