Clear undo after reading example file
Highlight selections correctly