Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Recently I came across this site.

It says, in Linux with QT, it is possible 'to highlight characters' by pressing ShiftCtrl {Left,Right} or Shift {Left,Right}.

Could somebody please explain this feature with a screenshot or something?

share|improve this question
up vote 0 down vote accepted

The Behavior

It is possible that the site is referring to a common behavior of text boxes where holding Shift and hitting the cursor keys moves the cursor and toggles the highlighting of the characters that the cursor moves over. It is also common for holding Ctrl and hitting the cursor keys to make the cursor jump on word boundaries. Holding down both Ctrl and Shift would cause the cursor to highlight text and jump on word boundaries. You can experiment with this behavior in a browser, text editor, or other application that has a text box.

The Notation

{item1,item2} is somewhat arcane notation for displaying multiple possibilites. Shift{Left,Right} expands to ShiftLeft and ShiftRight.

The Framework

qt is a cross-platform application framework that implements several types of text boxes. It is possible that the site was referring to this framework.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.