https://bugs.documentfoundation.org/show_bug.cgi?id=67797
Justin L <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|[email protected] |[email protected] |desktop.org | --- Comment #20 from Justin L <[email protected]> --- There are (at least) two paths using BuildEnum. The one discussed here is "[T] as you type", and the other is "[M] Tools - AutoCorrect - Apply". Both of these only affect Default/Body Text styles. In the [M] path (!m_aFlags.bAFormatByInput), it removes the spacing and applies a "Numbering X" style. It probably also "Combines single line paragraphs if length greater than 50% (m_aFlags.bRightMargin)". In my [T] typing testing (and as expected because it is listed as an [M]-only option), I could not trigger bRightMargin - so it ought to be equivalent to !bAFormatByInput. Also note that "[T] Bulleted and Numbered Lists." (m_aFlags.bSetNumRule) comes into play here. Although comment 0 tested with this turned off, comment 1 tested with it turned on. If we do (annoyingly) turn it into a numbered list, then certainly the leading blanks need to be deleted still. So we need to delete the leading blanks if bSetNumRule or !bAFormatByInput. P.S. It is somewhat unclear what should happen with relation to comment 19 if Apply Styles is turned ON. In that case no style change happens to an IsEnumericChar - so lets strip there as well just to match previous behaviour. -- You are receiving this mail because: You are the assignee for the bug.
