Check that focussed element supports selection (ie. not a button) before calling textrange plugin
Check that focussed element supports selection (ie. not a button) before calling textrange plugin

qcode-software/qcode-ui,qcode-software/qcode-ui