Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Replacement does not follow through with selected text|
|Component:||code||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Priority:||P4||CC:||elish, issues, npolyudova|
|Issue Type:||DEFECT||Latest Confirmation in:||3.4.1|
Description hwtan 2008-09-17 04:28:34 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.
Comment 1 michael.ruess 2008-09-17 07:28:15 UTC
Reassigned to SBA.
Comment 2 nadejda 2009-04-24 21:13:50 UTC
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.
Comment 3 hwtan 2009-04-27 05:10:58 UTC
Dear nadejda, You probably forgotten to check "Regular Expressions."
Comment 4 nadejda 2009-04-27 06:51:26 UTC
Thank you, Hwtan. I will try to reproduce this issue one more time and I will check it.
Comment 5 hwtan 2010-12-28 02:41:25 UTC
Any progress on this issue? I just find that it is still the same with OOo 3.2.1.
Comment 6 Edwin Sharp 2013-03-01 10:12:15 UTC
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.