Help save net neutrality! Learn more.
Close

#1371 Code dont get coloured

Bug
closed-fixed
Scintilla (796)
4
2014-08-27
2012-06-10
No

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]

Discussion

  • Neil Hodgson

    Neil Hodgson - 2012-06-11
    • assigned_to: nobody --> nyamatongwe
    • priority: 5 --> 4
    • status: open --> open-accepted
     
  • Neil Hodgson

    Neil Hodgson - 2012-06-11

    It is treating the script tag as starting a script with the following lines seen as JavaScript.

    Unlikely I will work on this myself.

     
  • Sakshi Verma

    Sakshi Verma - 2012-08-22

    I would like to fix this bug. Please assign it to me.

     
  • Neil Hodgson

    Neil Hodgson - 2012-08-23
    • assigned_to: nyamatongwe --> sakverma
     
  • Sakshi Verma

    Sakshi Verma - 2012-08-23

    modified html lexer to fix the issue

     
  • Sakshi Verma

    Sakshi Verma - 2012-08-23

    Added a patch file to fix this issue.

     
  • Neil Hodgson

    Neil Hodgson - 2012-08-25

    OK. I suppose the tag could be even longer but 200 characters is fine. Committed.

     
  • Neil Hodgson

    Neil Hodgson - 2012-08-25
    • status: open-accepted --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2012-08-31
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.