Apache OpenOffice (AOO) Bugzilla – Issue 118862
Writer: Find&Replace fails for single-replacement if text is selected
Last modified: 2013-01-23 01:39:21 UTC
1) select some text in Writer (e.g. "ABCDEF") 2) open the Search&Replace dialog 3) enter a search string that matches the selected text somewhere (e.g. "CD") 4) enter a replacement string e.g. "XX" 5) click the "Replace" button => the whole selection gets replaced, not just the match! e.g. the resulting text is "XX" whereas it should be "ABXXEF" Notes: - the checkbox "Current Selection Only" doesn't impact the bug - the checkbox "Regular Expression" doesn't impact the bug - "Replace All" works fine (for some reasons that button is only enabled when the "Search Notes" checkbox is disabled)
Reproducible on OOo, AOO and downstream code.