https://bugs.documentfoundation.org/show_bug.cgi?id=103308

--- Comment #5 from V Stuart Foote <vstuart.fo...@utsa.edu> ---
(In reply to Butch from comment #4)
> ...
> However, there is still a question regarding the behavior of this
> autocorrect option:
> ...
> NOT in this simple case:
> 
> tab, some text, enter
> 
> ???

Yes I see the same. Suspect it lives down in the editengine, while in sw the
handling for the Autocorrect options are:

action to remove leading or trailing blanks are defined here
http://opengrok.libreoffice.org/xref/core/sw/source/core/edit/autofmt.cxx#1078

Spaces are defined to include \t and " "
http://opengrok.libreoffice.org/xref/core/sw/source/core/edit/autofmt.cxx#151

called from
http://opengrok.libreoffice.org/xref/core/sw/source/core/edit/autofmt.cxx#698

They look like they should handle the "tab, some text, enter" case.
Unfortunately I am unable to trace and find the exception affecting that
formatting. Significant? Not really, seems kind of a corner case that actually
does what most would expect to retain the leading \t or " " indent before
simple text.

The main issue in OP was that removal is set on by default--disabling its
autocorrect option still functions as intended (mostly).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to