.reg function list
-
v8.4.2
- .ini files have a function list, but .reg don’t - bug?
- how can i highlight in a different color “%~dp0” in .bat ?
-
.ini files have a function list, but .reg don’t - bug?
No, it just, until now, nobody had the need to make a PR for it. Copy the ini.xml from the functionList directory as registry.xml. Edit it and rename the two
INI Sectionaccordingly toRegistry Section. Restart Npp - done.how can i highlight in a different color “%~dp0” in .bat ?
%~dp0is treated as a variable, so by changing theVARIABLEpart of the style configuration you can change the color, which then affects something like%HOST%as well.
If you want to have a different color than for example
%HOST%, then I see only the possibility to use something like the pluginEnhanceAnyLexer. ( Note, I’m the author of this plugin )
-
-
it is displayed incorrectly
https://fpic.in/ek4Fg36 -
perfect, thx
-
-
you are correct, I thought ini and reg files are similar and hence it should work but … it doesn’t.
I changed the following in the registry.xml
<function mainExpr="^\h*\\[.+?\\]" > <functionName> <nameExpr expr=".+" /> </functionName> </function>and it seems to work.

-
@ekopalypse
its work
thx
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