Apache OpenOffice (AOO) Bugzilla – Issue 93972
Replacement does not follow through with selected text
Last modified: 2013-03-01 10:12:15 UTC
1. Have a text that contain numbers and characters 2. Select it, and Ctrl-F to bring up the Find and Replace box. 3. In Search for, key in "[:digit:]?" (without quotes) 4. In Replace with, key in "&" (without quotes" 5. click more options, and select Current Selection Only and Regular Expressions 6. While the cursor is in the Replace with box, click the Format button, under the Position tab and select the Superscript, click ok. 7. Click Replace. All selected text is gone with the first number superscripted. Repeat steps 1 to 6. 7. Click Replace all, only the numbers are superscripted. This is the desire effect. Repeat step 1 to 7, but this time do not select anything, ie. skip the first part of step 2. When one click Replace, OOo go through all the numbers, and to skip any number, just click Find. The user would expect the same effect to happen to the selected text. Please look into it.
Reassigned to SBA.
I can reproduce this issue in OOo310m9 (PC, Windows XP). I have only one difference. For selected text. Step #7 (part 1 of description): "7. Click Replace. All selected text is gone with the first number superscripted". Instead of first number superscripted I got "&" (without quotes) superscripted. And all selected text is gone.
Dear nadejda, You probably forgotten to check "Regular Expressions."
Thank you, Hwtan. I will try to reproduce this issue one more time and I will check it.
Any progress on this issue? I just find that it is still the same with OOo 3.2.1.
After performing the first set of instructions in the description and pressing Ctrl+Z to undo, document crashed and had to be recovered without possibility to retrieve the text that disappeared.