Closed lenny20 closed 9 months ago
http://www.winhex.com/winhex/scripting.html
by default, .tpl
can't be assigned to WinHex as other template file also use this extension.
Added a simple lexer in 76579cb9047eca257ad2d264b912d8a044131348, please test latest builds from https://github.com/zufuliu/notepad2/actions.
.tpl
is currently assigned to "Web Source Code" scheme, you will need to remove that and it to "WinHex Script" scheme.
I've tried this, it's not aesthetically pleasing.
I would like to put .tpl
and .whs
to C or Pascal Source tag. No need for new winhex tags.
No need for new winhex tags
WinHex is not C++.
Both C and Pascal Source tags look good.
It has to be a different scheme due to different syntax and keywords.
put following to Notepad2.ini will make everything work:
[File Extensions]
Web Source Code=html; htm; shtml; xhtml; asp; aspx; jsp; mht; htd; htt; hta; htc; cfm; jd
WinHex Script=whs; tpl
OK. Thank you!
Winhex templates (.tpl) and scripts (.whs) are quite commonly used and I would like to support syntax highlighting for them. Thanks!