How to increase the max keyword dropdown size?
-
As you can see from this GIF
http://i.imgur.com/PLADyjq.gifBy default notepad++ only can show max of 5 items within the lists.
Since I added alot of custom keywords …is there a way for me to increase the dropdown size to maybe 15~30 ?
Where can I find the setting for this? -
Nothing is built in by default, however, you can do it with a plugin. Install LuaScript via the PluginManager, edit it’s startup script and add this:
editor1.AutoCMaxHeight = 15 editor2.AutoCMaxHeight = 15save and restart N++.
-
hi thx for the info… is this only work for specific language like “LUA language” since it’s named as LuaScript here?
Where can I find more info about those variable that I can be used in the script?
any documentation for all the variables?
editor1.AutoCMaxHeight = 15
editor2.AutoCMaxHeight = 15what’s the “editor1” and “editor2” refer to ?
Edit:
these i guess…
https://dail8859.github.io/LuaScript/ -
is this only work for specific language
Lua is just used to control Scintilla features that are not exposed by Notepad++, but it will work for any language.
what’s the “editor1” and “editor2” refer to ?
Since Notepad++ can have two files open side-by-side it has 2 “editor” instances refered to as “editor1” and “editor2”. So setting both editors makes sure that if you move a file to another view it still works correctly.
these i guess…https://dail8859.github.io/LuaScript/
Yes that’s the official documentation.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login