[oXygen-user] oXygen-8.2 XHTML Format and Indent Errors

Sorin Ristache
Mon May 21 06:57:07 CDT 2007


When the option "Indent (when typing) in preserve space elements" is 
unchecked the pasted block is preserved without applying indenting and 
it works correctly. We added "when typing" because it is used only when 
editing text with the keyboard but it is not used by the Format and 
Indent action so I think the two words should not be removed.

When both options are checked the indenting is not correct when you 
paste CSS code in a script element. You reported the problem some days ago:


but it was not planned for this build. We will fix it in a future 
version of oXygen.


Robert Koberg wrote:
> Maybe just remove the '(when typing)' in the option text to
> make it clearer ??
> But if both the above options are checked in the
> Options/Preferences/Editor/Format/XML dialog then pasting something
> like:
> if (true) {
>   alert('boo');
> }
> into a script element becomes:
> <script>
>   if (true) {
>   alert('boo');
>   }
> </script>

More information about the oXygen-user mailing list