Replaced mouse events with text grid selection events.