Yes there's one, but it's awkward.
You must implement the OnCheckEndMarker of your PHP Scheme
and set aMarkerLen to 0 or aMarkerText to '' aproprietately.
Unfortunately the Markers aren't searched in the same order
as the tokens are parsed; you can't simply use the context
information from SynMultiSyn.CurrScheme and .GetTokenId from
current (sub)highlighter. You'll have to parse all line up
to aStartPos.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Err, wrong Resolution.
This case should be quite easy to fix, so it might be worth.
Unfortunately I plan to fix this since ever and always get
back to thinking it's a waste of time and we'd better spend
it on dynamic highlighters...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's not bug. TSynMultiSyn works on RegExpr, simple search
start/end tags (as text, not tokens).
ps. Now I work on one big highlighter for (X)HTML, CSS, JS,
PHP. For more info. go here: http://flatdev.dotgeek.org/item_view.php?project=2&id=1
(latest public demo in first comment at bottom). For HTML
and CSS now (not public) there is an almost full syntax and
property checking (rules for parsing from W3C.org). Support
for PHP and JS in about 2-3 weeks.
ps2. Your example ($p4="?>";) will work fine with this
highlighter.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=99702
Yes there's one, but it's awkward.
You must implement the OnCheckEndMarker of your PHP Scheme
and set aMarkerLen to 0 or aMarkerText to '' aproprietately.
Unfortunately the Markers aren't searched in the same order
as the tokens are parsed; you can't simply use the context
information from SynMultiSyn.CurrScheme and .GetTokenId from
current (sub)highlighter. You'll have to parse all line up
to aStartPos.
Logged In: YES
user_id=99702
Err, wrong Resolution.
This case should be quite easy to fix, so it might be worth.
Unfortunately I plan to fix this since ever and always get
back to thinking it's a waste of time and we'd better spend
it on dynamic highlighters...
Logged In: YES
user_id=1158522
It's not bug. TSynMultiSyn works on RegExpr, simple search
start/end tags (as text, not tokens).
ps. Now I work on one big highlighter for (X)HTML, CSS, JS,
PHP. For more info. go here:
http://flatdev.dotgeek.org/item_view.php?project=2&id=1
(latest public demo in first comment at bottom). For HTML
and CSS now (not public) there is an almost full syntax and
property checking (rules for parsing from W3C.org). Support
for PHP and JS in about 2-3 weeks.
ps2. Your example ($p4="?>";) will work fine with this
highlighter.