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

--- Comment #7 from Óvári <[email protected]> ---
(In reply to Oliver Specht (CIB) from comment #6)
Thank you Oliver Specht (CIB) for providing a workaround until bug 96381 has
been fixed.

For (bullets and numbering) outline list that have ~100 items, the workaround
would require ~400 extra steps.

When LO is in Bullets and Numbering mode and an Enter is pressed, LO could look
at the previous paragraph (if the current paragraph is not the first
paragraph). If the previous paragraph has no content, then LO Writer could
insert an Enter before the next Bullet/Number.


Pseudo code
===========

IF ( ( Mode(Bullet) OR Mode(Numbering) ) AND 
     ( Number(CurrentParagraph) > 1 ) AND 
     ( WordCount(CurrentParagraph--) == 0 ) AND
     ( KeyPress == <Enter> )
   ) {

  <Enter> <Backspace> <Space> <Enter>
  Delete <Space> in previous paragraph

}


Caveats:
1. Need to ensure that Undo works correctly.
2. The pseudo code may need work using better constructs available in LO to
ensure high performance/speed, i.e. LO does not slow down when performing this
operation.


Thank you

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

Reply via email to