editor: Support shift-left/right for selecting text
authorRob Bradford <rob@linux.intel.com>
Thu, 11 Jul 2013 15:00:00 +0000 (16:00 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Sat, 13 Jul 2013 03:56:18 +0000 (23:56 -0400)
commit7000283741394f7ccf01e9358e0d559a5007e4b7
tree6a48e2e10b70d77d9d7fb2831ecc216439d6215d
parentbdeb5d224db4147596c0526a482cbce6e3334fba
editor: Support shift-left/right for selecting text

If the shift modifier is active then we don't make the cursor and the
anchor the same and as a result we develop a selection in the direction
that the arrow key gets pressed in.

https://bugs.freedesktop.org/show_bug.cgi?id=66802
clients/editor.c