Added code-text selection on click