- addTypingRunListener
Adds a listener for TypingRun events. Repeatedly adding the same listener
instance has no effect. Li
- computeChange
Computes the change abstraction given a text event.
- connect
Initializes the state variables and registers any permanent listeners.
- disconnect
Disconnects any registered listeners.
- endIfStarted
Ends any active run and informs all listeners. If there is none, nothing
happens.
- ensureSelectionListenerAdded
Adds the selection listener to the text widget underlying the viewer, if not
already done.
- ensureSelectionListenerRemoved
If there is a selection listener, it is removed from the text widget underlying
the viewer.
- fireRunBegun
Informs all listeners about a newly started TypingRun.
- fireRunEnded
Informs all listeners about an ended TypingRun.
- handleChange
State machine. Changes state given the current state and the incoming change.
- handleSelectionChanged
Handles an incoming selection event.
- handleTextChanged
Handles an incoming text event.