If I select some text, and then double click on a component in the form editor, it
will extend the selection to select huge chunks of text if the new event is below
the selection (not if it is above).
Basically, the double-click to open the event code should clear any selection.
Minor, but might save a chunk of code disappearing.