When I open an xml file with the following text in it, all the text after line 3 is grey (not color coded).
If I shorten the parameter file="" in the script on line 3 with 7 characters or more everything works again.
Have the same problem with Notepad 2 so I think its a bug in Scintilla :(
[code]<groupdef id="two.info.seeker">
<script file="@WINAMPPATH@\Plugins\classicPro\engine\scripts\sc_liveSeeker.maki" param="two.info.seeker.slider.1"/>
</groupdef>
<groupdef id="two.info.text.other">
<text id="two.info.text.other.kbps" x="0" y="3" w="52" h="12" align="center" valign="center" text="" fontsize="14" color="black" font="Calibri"/>
<text id="two.info.text.other.size" x="0" y="13" w="52" h="12" align="center" valign="center" text="" fontsize="14" color="black" font="Calibri"/>
<text id="two.info.text.other.hz" x="0" y="23" w="52" h="12" align="center" valign="center" text="" fontsize="14" color="black" font="Calibri"/>
</groupdef>[/code]
It is treating the script tag as starting a script with the following lines seen as JavaScript.
Unlikely I will work on this myself.
I would like to fix this bug. Please assign it to me.
modified html lexer to fix the issue
Added a patch file to fix this issue.
OK. I suppose the tag could be even longer but 200 characters is fine. Committed.