diff options
| author | nyamatongwe <devnull@localhost> | 2003-05-11 01:25:28 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2003-05-11 01:25:28 +0000 | 
| commit | adc33a661948e517e7d223ad8aa5fa5a45be3e6f (patch) | |
| tree | 19c9a87dd4938abcfdff50a961d8cd8dd46a9e29 /src/KeyMap.cxx | |
| parent | b4d2256f9ccf56efacbd84b3fbed1e846fb1853f (diff) | |
| download | scintilla-mirror-adc33a661948e517e7d223ad8aa5fa5a45be3e6f.tar.gz | |
Addition of CopyText, CopyRange, and LineCopy.
Diffstat (limited to 'src/KeyMap.cxx')
| -rw-r--r-- | src/KeyMap.cxx | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/src/KeyMap.cxx b/src/KeyMap.cxx index 837cdd241..f15842af6 100644 --- a/src/KeyMap.cxx +++ b/src/KeyMap.cxx @@ -1,5 +1,5 @@  // Scintilla source code edit control -/** @file KeyMap.cxx  +/** @file KeyMap.cxx   ** Defines a mapping between keystrokes and commands.   **/  // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> @@ -13,7 +13,7 @@  KeyMap::KeyMap() : kmap(0), len(0), alloc(0) {  	for (int i = 0; MapDefault[i].key; i++) { -		AssignCmdKey(MapDefault[i].key,  +		AssignCmdKey(MapDefault[i].key,  			MapDefault[i].modifiers,               		MapDefault[i].msg);  	} @@ -113,7 +113,7 @@ const KeyToCommand KeyMap::MapDefault[] = {      {SCK_BACK,		SCI_SHIFT, 	SCI_DELETEBACK},      {SCK_BACK,		SCI_CTRL, 	SCI_DELWORDLEFT},      {SCK_BACK, 		SCI_ALT,	SCI_UNDO}, -    {SCK_BACK,		SCI_CSHIFT,	SCI_DELLINELEFT},     +    {SCK_BACK,		SCI_CSHIFT,	SCI_DELLINELEFT},      {'Z', 			SCI_CTRL,	SCI_UNDO},      {'Y', 			SCI_CTRL,	SCI_REDO},      {'X', 			SCI_CTRL,	SCI_CUT}, @@ -130,6 +130,7 @@ const KeyToCommand KeyMap::MapDefault[] = {      //'L', 			SCI_CTRL,		SCI_FORMFEED,      {'L', 			SCI_CTRL,	SCI_LINECUT},      {'L', 			SCI_CSHIFT,	SCI_LINEDELETE}, +    {'T', 			SCI_CSHIFT,	SCI_LINECOPY},      {'T', 			SCI_CTRL,	SCI_LINETRANSPOSE},      {'D', 			SCI_CTRL,	SCI_LINEDUPLICATE},      {'U', 			SCI_CTRL,	SCI_LOWERCASE},  | 
