Menu

#3890 HTML/XHTML DTD and JavaScript-Syntaxhighlighting

minor bug
open
nobody
XML (1)
5
2014-10-28
2005-09-10
No

If you specify a DTD in a HTML-file, the parser doesn't
care about it, that shouldn't be.
And if you want to handle XHTML-files, you have to
parse them with XML as parser, but then JavaScript
isn't syntax-highlighted.

Discussion

  • Robert Schwenn

    Robert Schwenn - 2007-03-06

    patched xml mode for jEdit 4.3 (pre9) - highlights embedded scripts

     
  • Robert Schwenn

    Robert Schwenn - 2007-03-06

    Logged In: YES
    user_id=1486645
    Originator: NO

    Regarding the highlighting:
    Attached is a patched xml mode file for jEdit 4.3 (pre9). It highlights embedded JavaScript, VBScript and CSS Stylesheets.

    My knowlege about xml is unfortunately unsufficient to test the mode well. So I wonder why this highlighting is done in the supplied html mode but not in xml mode. I only copied the appropriate sections from html.xml to xml.xml.

    File Added: xml.xml

     
  • Alan Ezust

    Alan Ezust - 2014-08-25
    • labels: --> XML
    • Group: -->
     
  • Alan Ezust

    Alan Ezust - 2014-10-28

    This is not a proper diff. Please resubmit as a separate patch in the patches tracker, against jEdit 5.2 or current trunk.

     

    Last edit: Alan Ezust 2014-10-28
  • Alan Ezust

    Alan Ezust - 2014-10-28
    • status: closed-rejected --> open
    • Group: --> minor bug
     

Log in to post a comment.