Hi everyone, I just joined. BaseX is awesome (as y'all know).

I like CTRL+SHIFT+F for formatting, but it is also messing up string values, which especially wreaks havoc with regular expressions. That is...

   let $regex := "(a|z)"

...becomes...

   let $regex := "(
      a|z
   )"

I didn't see anything in the documentation or archives about micromanaging the formatting. Is the best practice to avoid formatting altogether? Or is there a hidden pragma to exempt lines from being formatted?

Joel
--
Joel Kalvesmaki
Director, Text Alignment Network
http://textalign.net

Reply via email to