.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 Section
accordingly toRegistry Section
. Restart Npp - done.how can i highlight in a different color “%~dp0” in .bat ?
%~dp0
is treated as a variable, so by changing theVARIABLE
part 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