Added support for double/triple click+dragging.
authorAlexander Sedov <alex0player@gmail.com>
Mon, 15 Apr 2013 06:28:31 +0000 (10:28 +0400)
committerChristoph Lohmann <20h@r-36.net>
Sat, 20 Apr 2013 13:54:19 +0000 (15:54 +0200)
commit872a7f18eaffd96eefb31e3dcb45fd86bc67029b
treedab72f5f74dc713a17cc3f4b94ca3d36ccf016cc
parent3c546ae73924804ddc6d29dc3ab2f12a93287009
Added support for double/triple click+dragging.

Now double-click+dragging automatically snaps both ends to word boundaries
(unless on series of spaces), and triple-click selects whole lines.
As a side effect, snapping now occurs on button press, not button release
like it previously was, but I hope that won't be inconvenient for anyone.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
st.c