[BUG_FIXED] Bring back the old behaviour for HOME and END keys.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@165 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
donho 2008-04-07 23:57:55 +00:00
parent 6a3fdbd1fc
commit 4effb92bc0
2 changed files with 4 additions and 11 deletions

View File

@ -245,17 +245,17 @@ ScintillaKeyDefinition scintKeyDefs[] = { //array of accelerator keys for all po
{"SCI_HOMEDISPLAYEXTEND", SCI_HOMEDISPLAYEXTEND, false, false, false, 0, 0},
{"SCI_HOMEWRAP", SCI_HOMEWRAP, false, false, false, 0, 0},
{"SCI_HOMEWRAPEXTEND", SCI_HOMEWRAPEXTEND, false, false, false, 0, 0},
{"SCI_VCHOME", SCI_VCHOME, false, false, false, VK_HOME, 0},
{"SCI_VCHOME", SCI_VCHOME, false, false, false, 0, 0},
{"SCI_VCHOMEEXTEND", SCI_VCHOMEEXTEND, false, false, true, VK_HOME, 0},
{"SCI_VCHOMERECTEXTEND", SCI_VCHOMERECTEXTEND, false, true, true, VK_HOME, 0},
{"SCI_VCHOMEWRAP", SCI_VCHOMEWRAP, false, false, false, 0, 0},
{"SCI_VCHOMEWRAP", SCI_VCHOMEWRAP, false, false, false, VK_HOME, 0},
{"SCI_VCHOMEWRAPEXTEND", SCI_VCHOMEWRAPEXTEND, false, false, false, 0, 0},
{"SCI_LINEEND", SCI_LINEEND, false, false, false, VK_END, 0},
{"SCI_LINEEND", SCI_LINEEND, false, false, false, 0, 0},
{"SCI_LINEENDEXTEND", SCI_LINEENDEXTEND, false, false, true, VK_END, 0},
{"SCI_LINEENDRECTEXTEND", SCI_LINEENDRECTEXTEND, false, true, true, VK_END, 0},
{"SCI_LINEENDDISPLAY", SCI_LINEENDDISPLAY, false, true, false, VK_END, 0},
{"SCI_LINEENDDISPLAYEXTEND", SCI_LINEENDDISPLAYEXTEND, false, false, false, 0, 0},
{"SCI_LINEENDWRAP", SCI_LINEENDWRAP, false, false, false, 0, 0},
{"SCI_LINEENDWRAP", SCI_LINEENDWRAP, false, false, false, VK_END, 0},
{"SCI_LINEENDWRAPEXTEND", SCI_LINEENDWRAPEXTEND, false, false, false, 0, 0},
{"SCI_DOCUMENTSTART", SCI_DOCUMENTSTART, true, false, false, VK_HOME, 0},
{"SCI_DOCUMENTSTARTEXTEND", SCI_DOCUMENTSTARTEXTEND, true, false, true, VK_HOME, 0},

View File

@ -20,11 +20,4 @@
<Command name="open file" Ctrl="no" Alt="yes" Shift="no" Key="116">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD)</Command>
<Command name="open in another instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD) -nosession -multiInst</Command>
</UserDefinedCommands>
<PluginCommands />
<ScintillaKeys>
<ScintKey ScintID="2345" menuCmdID="0" Ctrl="no" Alt="no" Shift="no" Key="36" />
<ScintKey ScintID="2331" menuCmdID="0" Ctrl="no" Alt="yes" Shift="no" Key="36" />
<ScintKey ScintID="2314" menuCmdID="0" Ctrl="no" Alt="yes" Shift="no" Key="35" />
<ScintKey ScintID="2347" menuCmdID="0" Ctrl="no" Alt="no" Shift="no" Key="35" />
</ScintillaKeys>
</NotepadPlus>