PreviousNextTracker indexSee it online !

(181/314) 3482224 - Indent XML does not honor word wrap margin

I use jedit to edit DocBook XML files.

Versions: jedit 4.4.2 with Sun Java 1.6.0-22, XML Plugin version 2.8.0)
Platform: openSUSE 12.1, 64 bit

I have configured a hard word wrap at 80 characters (in the global preferences), but jedit does not seem to honor those settings:

When reformatting the text with "Plugins > XML > Indent XML", jedit gives me a nicely formatted XML, but does not wrap the line at 80 characters. This does not only occur in deeply nested structures (or in case an element happens to be at the word wrap margin), but also in simple paras without other elements inside, just containing text).

When using "Edit > Text > Format Paragraph" instead, this reformat action _does_ honor the
word wrap settings, but unfortunately also gets rid of any XML indentation the para had had before...

(the second bit might rather belong to jEdit core, please transfer to there, if appropriate).

If you you need any logs, more information or examples, please let me know.

Submitted taroth21 - 2012-01-31 - 15:03:50z Assigned nobody
Priority 5 Category None
Status Open Group None
Resolution None Visibility No