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

--- Comment #5 from Butch <[email protected]> ---
I am now able to show the problem in a simple and reproducible way (I hope):

Write these four lines (paragraphs) in a new document:


1 This is a simple one-line paragraph ending with x. x

2 This is a simple one-line paragraph ending with x. x

3 x
4 This is a simple one-line paragraph ending with x. x


Each line ending with x and Enter.
Select now with the mouse the word simple in all lines and make it bold.
Select the whole first line including x and make it underlined.
Select the second line without the ending x and make it underlined.
Select the fourth line without the ending x but including 3 in the third line,
and make it underlined.

Do now Search&Replace:
Search: .* with format Underlined single
Replace: <u>$0</u>
with activated Regular expression, Replace all.

The result (at least on my side):
The bold formatting in the first line is lost!

My assumption: There is a inconsistency / intransparency / undesirable behavior
in the case when selection includes a paragraph end (the endmark)!

Another observation: When replacing is done for single characters (.), the bold
formatting is not lost!

-- 
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