This is very important.
This is really very important.
This is important.
The above was written in the normal way, then the parts were marked and underlined, and finally the single words were marked and made bold.
I have done this now to reproduce two problems I discovered. However, the above three lines don’t show these problems. I can’t say what is the reason, but: Below three lines from another document are included, which was created exactly in the same “normal” way, but these lines are showing the following two mysterious problems:
1) Find:
Find: underlined
finds nothing in line 2!
(styles activated)
2) Find/Replace:
Find: .* with underlined
Replace: <&>
replaces only in lines 1 and 3, but bold in line 1 is lost!
(regular expressions and styles activated)
The lines on the beginning of this document don’t show these problems!
***
Dies ist sehr wichtig.
Dies ist sehr wichtig gewesen.
Dies ist wichtig.
***
I discovered this in my macros first. I tried to reproduce it manually. Why in some cases it can be reproduced (these three lines above) and in some not (three lines at the beginning of the document) – I don’t know. My original document was created with LO Writer with interface (and document) language German. Experimenting with all these find/replace operations seems to lead sometimes to mysterious behavior. For example, there was a situation during my tests, with unchanged settings in the find/replace dialogue (!!!), where replacing by <&>, as shown above, was done without inserting < and > before and after the underlined text. Could it be that there are settings influencing the find/replace operation which are not visible/accessible in the dialogue? My impression is that macros which include find/replace operations can influence these “hidden” (?) settings.
At least the three lines above, if the described problems can be seen in this document by others too, would demonstrate that there is an essential problem with the transparency and consistency of finding/replacing formatted text.