#1407 Syntax highlighting turned off in <script> elements


I understand that this was probably done 'by design', but I do not think that it is a good idea. When editing a well-formed xml documents, the syntax is precisely defined and I expect the editor to do the highlighting according to the XML syntax rather than using some heuristics that are useful for SGML/HTML documents.

Thank you in advance.


  • Neil Hodgson

    Neil Hodgson - 2012-10-04

    Different people have different requirements. If you want to implement an option to turn script processing off then submit it.

  • Neil Hodgson

    Neil Hodgson - 2012-10-04
    • assigned_to: nobody --> nyamatongwe
    • priority: 5 --> 3
  • Colomban Wendling

    Duplicate of [bugs:#1753] IMO.
    Same applies: use lexer.xml.allow.scripts=0 as suggested in https://sourceforge.net/p/scintilla/bugs/1753/#b6d2/7aea



    Bugs: #1753

    Last edit: Colomban Wendling 2016-08-03
    • Neil Hodgson

      Neil Hodgson - 2016-08-14

      Yes, its an option so every application gets to choose which way to lex scripts in XML.

  • Neil Hodgson

    Neil Hodgson - 2016-08-14
    • labels: Scintilla --> Scintilla, xml
    • status: open --> open-invalid
  • Neil Hodgson

    Neil Hodgson - 2016-09-05
    • status: open-invalid --> closed-invalid

Log in to post a comment.