modified SourceEditor so that coordinates of a selected text are displayed