Morph a text ModifyEvent into a SelectionEvent as best we can.
This may be a bad abuse of the event system, it appears to be in
use because we are too lazy to specify a new event type for style
modification.
However this does seem to be in keeping with the purpose of SelectionEvent
it already isolates out code from TypedEvents by providing a summary of what
changed in which widet.
Parameters: e - A SelectionEvent based on the provided modify event |