Note pad starer is what?
If it is notepad++, then it would be nice if you could let us know what the message is
otherwise we have to guess and guessing mostly doesn’t work in such cases.
Never mind, I found another thread where people had the same problems, and was able to fix it by deleting the Notepad++ directory from my Roaming profile.
How did you record the macro?
Can you post what is inside shortcuts.xml file?
(Which is either in you installation directory or under %APPDATA%\notepad++)
therefore you need to provide an API file with the same name as your UDL is.
See plugins\APIs directory for examples.
The keywords within udl are just for syntax coloring.
Also what is the understanding behind “instre1” “type1” …“type4” in the langs.xml file <Keywords name= ?
That is basically a link to the stylers.xml to provide the information which style should be used
for which keyword group. Please note, that not every language supports the same amount
of keyword groups and even not the same keyword group link names.
The video you referenced is actually pretty good as far as the pure mechanics of setting it up go. You are missing a $ in front of (FULL_CURRENT_PATH) in your post; it should be $(FULL_CURRENT_PATH). That part is the “magic” which allows you NOT to have to change anything to run different .pl files that you edit with Notepad++, contrary to what you said about “change the command each time…”.
You can find the text of the existing commands of the Run menu in the shortcuts.xml file. It’s location can vary depending upon your Notepad++ install; easiest way to find it the first time is probably a search for it.
and to be honest, it is only half the truth as you need to wrap this all in a plugin.
But may I ask you why there is a need to have more than 8 different keyword group styles?
Does this really makes sense?
@NippurDeLagash
My reason for needing such behavior is that a source project has many authors. Think of multiple libraries. Coding style is not always strictly enforced (it is a different debate if it should be). And while I may modify any source file during development or debugging it is a good habit that a small fix will respect the original style of the code surrounding it.
it might be possible that a regex can help in such a case but you need to
know where exactly the missing G0? needs to be placed but in general
I would advise to learn a scripting language for solving such problems.
I, of course, would advise to learn python. ;-)