Browse Source

[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
remotes/patch_testing@481
Don Ho 17 years ago
parent
commit
203b50bab9
  1. 8
      PowerEditor/src/Parameters.cpp
  2. 7
      PowerEditor/src/shortcuts.xml

8
PowerEditor/src/Parameters.cpp

@ -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},

7
PowerEditor/src/shortcuts.xml

@ -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>

Loading…
Cancel
Save