diff options
author | 2014-10-25 00:30:36 -0400 | |
---|---|---|
committer | 2014-10-25 00:30:36 -0400 | |
commit | 83c20c89439386f31050718c94551d863298cdb9 (patch) | |
tree | 536dd52392df00ded7bbc5f650ea0eb0d397d52d /properties.lua | |
parent | 1de8c1bb596a7dbff39ab55685ead31a5d0c9373 (diff) | |
download | textadept-83c20c89439386f31050718c94551d863298cdb9.tar.gz textadept-83c20c89439386f31050718c94551d863298cdb9.zip |
Improvements to terminal mouse handling.
Emit events for unhandled mouse events and connect to such events in order to
focus and resize views.
Patch libtermkey with new Win32 PDCurses driver for unified key/mouse input.
Update CDK patch to always use libtermkey and to ignore mouse events.
Requires Scinterm r97 (changeset 8d1a625c9b4d).
Thanks to Chris Emerson for proof of concept code that handles mouse events and
for the code that focuses and resizes views.
Diffstat (limited to 'properties.lua')
-rw-r--r-- | properties.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/properties.lua b/properties.lua index 43bc5d30..55ad116d 100644 --- a/properties.lua +++ b/properties.lua @@ -8,9 +8,11 @@ buffer.additional_selection_typing = true --buffer.multi_paste = buffer.MULTIPASTE_EACH --buffer.virtual_space_options = buffer.VS_RECTANGULARSELECTION + -- buffer.VS_USERACCESSIBLE -buffer.rectangular_selection_modifier = (WIN32 or OSX) and buffer.MOD_ALT or - buffer.MOD_SUPER --- Note: rectangular selection modifier for CURSES is always ctrl + alt. +if not CURSES then + -- Note: Always Ctrl+Alt on non-Win32 curses and always Alt on Win32 curses. + buffer.rectangular_selection_modifier = (WIN32 or OSX) and buffer.MOD_ALT or + buffer.MOD_SUPER +end --buffer.additional_carets_blink = false --buffer.additional_carets_visible = false |