[oXygen-user] Indentation, and diffing
Florent Georges
Thu Dec 17 17:21:27 CST 2009
George Cristian Bina wrote:
George,
Thank you for those detailed infos. I will look at the doc and
try to convince my fingers to integrate those behavioral
changes ;-)
> I cannot reproduce the 3 spaces indent issue.
Well, I was maybe not clear. I indent elements by 3, but long
XPath expressions in XSLT (they are attribute values) are spanned
over multiple lines, indented by 4 (from the element opening '<'
column), then inner-XPath indentation is 2 spaces. Ok, I know,
that can sound weird :-) I was just surprised a simple paste was
changing that, but....
> To disable indenting on paste go to Options->Preferences --
> Editor / Format / XML and disable the "Indent on paste" option.
...excellent!
> There is no option to preserve the space between attributes..
Mmh... I do align attributes quite often. Especially in XML
Schema (and XSLT). And for what I see around me, it seems to be
quite usual (at least in XML Schema). Maybe worth adding it?
> CMD+I
I think I'm gonna love that one! I am always a bit worry when
using Cmd-P, as this is a command acting on the whole file, where
most of the time Cmd-i seems to be exactly what I want. Thanks!
> so we will consider improving it, including such a result file
> and 3-way diff and merge support for XML files.
Great!
Thanks again for your help, regards,
--
Florent Georges
http://www.fgeorges.org/
More information about the oXygen-user
mailing list