Implements highlighting of selected text in the code view as requested in issue #2