modifying xml mode breaks auto-complete
Submitted by Friday, 2 March, 2007 - 21:54
on
I copied the xml.xml mode file from the jEdit install directory to my .jedit directory (under docs-and-settings: this is on Windows). Then I slightly modified it by altering
<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
to
<SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">
for the case where Literal1 is begun by (and ended by) a double quote. (I did this to get the coloring to work right in a .xsd file, since quoted materials can easily span multiple lines.) I then altered the 'catalog' file in that same dir to refer to the local xml.xml file, by copying the entry for xml files from the catalog in the install dir.
But that seems to have broken the auto-completion, and auto-indentation as well. In particulary, when I type a tag
<foobar>
it used to be that jEdit would automagically supplying a close tag, giving:
<foobar></foobar>
(with the cursor conveniently placed between the two tags).
But with the modified xml.xml file, jEdit no longer does this.
Do I need to do s.t. else?
Mike Maxwell
<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
to
<SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">
for the case where Literal1 is begun by (and ended by) a double quote. (I did this to get the coloring to work right in a .xsd file, since quoted materials can easily span multiple lines.) I then altered the 'catalog' file in that same dir to refer to the local xml.xml file, by copying the entry for xml files from the catalog in the install dir.
But that seems to have broken the auto-completion, and auto-indentation as well. In particulary, when I type a tag
<foobar>
it used to be that jEdit would automagically supplying a close tag, giving:
<foobar></foobar>
(with the cursor conveniently placed between the two tags).
But with the modified xml.xml file, jEdit no longer does this.
Do I need to do s.t. else?
Mike Maxwell