Hi,

  If I get the simple XProc library below, put the carret in the "p"
element, and press "Cmd-Shift-I", I get the same indentation.  See the
first line?  It is cut way too early.  If I use "Cmd-Shift-P", it gets
indented properly.

    <p:library xmlns:p="http://www.w3.org/ns/xproc" version="1.0">

       <p:declare-step type="foobar">
          <p:documentation xmlns="http://www.w3.org/1999/xhtml">
             <p>Lorem ipsum dolor sit amet,
                consectetur adipiscing elit. Suspendisse nec venenatis odio. Phasellus ut erat augue. Ut
                dictum condimentum lorem ultrices consectetur. Fusce pharetra pulvinar porttitor.</p>
          </p:documentation>
       </p:declare-step>

    </p:library>

  Not sure whether this is a bug, or if it is a mis-configuration on
my end.  It seems to happen only for XProc.

  Regards,

--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/