Hello!
I read your e-mail and, yes, people have come up with a solution:
You'll have to rewrite the source code of the scintilla lexers... as it is apparently hard-coded...
I dunno whether it can help your case but at least its something...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Greetings!
After reading a bit, I found out about the keywords that:
%PROGRAMFILES%\Notepad++\langs.xml contains the keywords that then %APPDATA%\Notepad++\stylers.xml then puts colors on
There's algo a *lang*.api in the APIs folder, which is made for the autocomplete feature..
What im actually looking for, is where's defined that ASP code starts with <%, and PHP code starts with <?
Because I want to see if I can fix this 2 issues:
1) coloring of the PHP's shortcut <?=, which is equivalent to ASP's <%= (which is already colored)
2) %> not closing Comment block
In PHP, If i write
<?php
//END ?>
The editor understands that the comment finishes with the PHP region, but if i write:
<%
'THE END %>
There the %> is commented out, so the ASP region isnt closed (messing all the following HTML code, for example)
I found out in stylers.xml that there's a ASPSYBOL which colors the <% and %>, but I cant find out where does it say that <% belongs to ASPSYBOL
Any help will be appreciated!
I was having the same issue, but with highlighting variable strings in heredocs in PHP ... post back if you are successful ...
Hello!
I read your e-mail and, yes, people have come up with a solution:
You'll have to rewrite the source code of the scintilla lexers... as it is apparently hard-coded...
I dunno whether it can help your case but at least its something...
Thanks Deatzo =)
I guess I'll have to put my gloves on and dig on the C++