dail8859 / LuaScript

Notepad++ plugin for Lua scripting capabilities
https://dail8859.github.io/LuaScript/
GNU General Public License v2.0
109 stars 23 forks source link

Wrong shortcut #67

Closed jbezos closed 5 years ago

jbezos commented 5 years ago

Consider the following minimal startup.lua:

for c = 65, 90 do
  npp.AddShortcut("Function" .. (c-64), "Ctrl+Shift+" .. string.char(c),
   function() end)
end

The shortcut for the 16th element is wrong (R instead of P).

dail8859 commented 5 years ago

I'm not seeing the same results. Can you post your debug info (under the ? menu).

Notepad++ v7.6.2   (32-bit)
Build time : Jan  1 2019 - 00:00:08
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : ON
Local Conf mode : OFF
OS : Windows 7 (64-bit)
Plugins : DSpellCheck.dll LuaScript.dll mimeTools.dll NppConverter.dll NppExport.dll 

untitled

jbezos commented 5 years ago

I'll investigate a bit further to see if there is some incompatibility with other plug-ins or a corrupted file.

jbezos commented 5 years ago

After a clean reinstall everything is OK, so clearly there was a corrupted file. Thank you and sorry for the noise.

dail8859 commented 5 years ago

No problem at all. Glad it is working for you now.