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

AddShortcut limit #66

Closed jbezos closed 5 years ago

jbezos commented 5 years ago

I've found AddShortcut very convenient, but unfortunately I've reached the limit (about 20) very quickly. I wonder if this limit can be increased somehow.

dail8859 commented 5 years ago

What size would you recommend?

jbezos commented 5 years ago

Well, who knows how many functions I'll write, but there is an obvious limitation: keyboards have a limited number of keys (and hands a limited number of fingers). I'm assigning all my functions to ctrl+shift (for example, ctrl+shift+O for a toc of a LaTeX document). There are 26 letters + 10 digits + the numeric keypad + F keys, etc. So, 40-45 seems a reasonable size.

dail8859 commented 5 years ago

The shortcuts dont need to be assigned to a keyboard combination so in theory there is no limitation. But increasing the limit is not hard...just wanted a rough idea.

jbezos commented 5 years ago

Yes, I know, but I use the keyboard for almost everything, so many functions are assigned to a combination. Thank you very much. I discovered Notepad++ recently (I was using Emacs), and with your extension I can do all I need.

dail8859 commented 5 years ago

I've increased the limit to 100 shortcuts. I don't have any plans to create a new release soon, however you can go ahead and download one of the builds from appveyor:

Download one of the DLLs depending on which one you have installed and just copy over your existing plugin. Note that if you are using the 64 bit version your current DLL file will be named LuaScript_64.dll but the new 64 bit version from appveyor is just called LuaScript.dll so just delete your old DLL file and drop this one in.

pidgeon777 commented 3 years ago

Does the latest v0.10.1 release include the capability to allow 100 shortcuts as described above?

dail8859 commented 3 years ago

@pidgeon777 Yes it has been included since v0.9