Menu

mapping shortcut

Kadner
2014-10-01
2014-10-02
  • Kadner

    Kadner - 2014-10-01

    I don't know if the problem lies with the PythonScript addin or NPP itself but it is quite annoying:

    Removing an item from the PythonScript "Menu Items" results in the previously associated shortcut maps (through the NPP shortcut mapper) to be offset. This requires all of the maps following the removed item to be remapped manually!

    Perhaps someone cares to comment?

     

    Last edit: Kadner 2014-10-01
  • GravityWell

    GravityWell - 2014-10-01

    I noticed this also. One workaround which I have not tested is to manually update shortcuts.xml in your NPP folder. I'm not sure what internalID represents.

    <PluginCommands>
        <PluginCommand moduleName="PythonScript.dll" internalID="11" Ctrl="no" Alt="yes" Shift="no" Key="98" />
        <PluginCommand moduleName="PythonScript.dll" internalID="7" Ctrl="no" Alt="yes" Shift="no" Key="103" />
        <PluginCommand moduleName="PythonScript.dll" internalID="12" Ctrl="no" Alt="yes" Shift="no" Key="99" />
    </PluginCommands>
    
     
    • Dave Brotherstone

      Yes, this is to do with how Notepad++ manages plugin menu items, and
      there's no easy way around it that I know of - the best way would be as
      GravityWell suggested.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.