From: Peter Graves <peter@ar...> - 2003-06-26 16:11:36
> XML handle special nodes named CDATA to escape text.
> CDATA start is marked by
> and stopped by
> Between these two markers XML should not be interpreted ...
> J do !
> For instance
> <h1>An example</h1>
> <p>Here a simple example :</p>
> <p><![CDATA[This is an example where <this> should not
> be considered as XML]]></p>
> In J, "<![CDATA[This is an example where <this>" will
> be highlighted as it was a tag ... "is", "an",
> "example" "where" and ">this" is highlighted as
> attributes ... it should not ...
> Positionning the cursor after <this> and typing "</"
> will give a completion of "</this>", nothing should
> Positionning the cursor after "XML]]>" and typing "</"
> will give a completion of "</![CDATA[This>", it should
> be "</p>".
XML mode needs to acquire a syntax iterator, like several other modes
already have, and then the formatting code and xmlInsertMatchingEndTag
(and maybe some other commands too) need to use it.
This should be relatively straightforward, but it's a big change. Other
things being equal, I'll try to get around to it in one of the 0.20.0.x
Get latest updates about Open Source Projects, Conferences and News.