aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-04-30 05:46:30 +0000
committernyamatongwe <devnull@localhost>2001-04-30 05:46:30 +0000
commit581baaf98ebddddf0984b7b5bab90216069ac8b6 (patch)
treef53dca934f81ee4c933b036c61f141ec5c7954d6 /src
parent4153beee4eb5f64da22fe757a9ce4b05bcfe12df (diff)
downloadscintilla-mirror-581baaf98ebddddf0984b7b5bab90216069ac8b6.tar.gz
Forwarding state of Alt key to key map and using the returned consumed
parameter to see whether to call DefWindowProc. Added word part movement keys to key map even though they conflict with entering characters by number as that can be forced to work by entering Num Lock mode. WM_CHAR control key messages can go into the buffer now if they arrived from being entered by number by detecting when they were not consumed by key down processing.
Diffstat (limited to 'src')
-rw-r--r--src/KeyMap.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/KeyMap.cxx b/src/KeyMap.cxx
index 352567e51..e1fe8e032 100644
--- a/src/KeyMap.cxx
+++ b/src/KeyMap.cxx
@@ -73,10 +73,14 @@ KeyToCommand KeyMap::MapDefault[] = {
{SCK_LEFT, SCI_SHIFT, SCI_CHARLEFTEXTEND},
{SCK_LEFT, SCI_CTRL, SCI_WORDLEFT},
{SCK_LEFT, SCI_CSHIFT, SCI_WORDLEFTEXTEND},
+ {SCK_LEFT, SCI_ALT, SCI_WORDPARTLEFT},
+ {SCK_LEFT, SCI_ASHIFT, SCI_WORDPARTLEFTEXTEND},
{SCK_RIGHT, SCI_NORM, SCI_CHARRIGHT},
{SCK_RIGHT, SCI_SHIFT, SCI_CHARRIGHTEXTEND},
{SCK_RIGHT, SCI_CTRL, SCI_WORDRIGHT},
{SCK_RIGHT, SCI_CSHIFT, SCI_WORDRIGHTEXTEND},
+ {SCK_RIGHT, SCI_ALT, SCI_WORDPARTRIGHT},
+ {SCK_RIGHT, SCI_ASHIFT, SCI_WORDPARTRIGHTEXTEND},
{SCK_HOME, SCI_NORM, SCI_VCHOME},
{SCK_HOME, SCI_SHIFT, SCI_VCHOMEEXTEND},
{SCK_HOME, SCI_CTRL, SCI_DOCUMENTSTART},