Apache OpenOffice (AOO) Bugzilla – Issue 15616
Find (and Replace) does not ignore custom hyphens
Last modified: 2013-08-07 14:42:56 UTC
If you try to find (and replace) words, Writer will ignore instances of the very same word which include a custom hyphen. The other way around, if you select a word including a custom hyphen and use "Find and Replace" the custom hyphen seems to get transformed into a real hyphen (by looking at the Find and Replace dialog). Therefore it does not even find and replace the word initially selected.
Sorry to come back to you after so long, but do you mean a soft hyphen by "custom hyyphen"? When I set a paragraph style to phyphenate, and arrange for a word to be hyphenatied at the end of a line (un- distinguished) a search for undistinguished finds the hyphenated word.
Andrew, sorry for being unprecise... :-( With custom hyphen I mean CTRL-"-". Writer still does not find these words (both ways tested: with and without any "-" entered in the dialogue, RH8, OOo1.1RC). I would expect Writer to ignore any custom hyphens while searching the text because they are used in an unsystematic way. Hope this helps.
Reassigned to SBA
This issue persists in RC2. Tested on RH9 Linux.
jw: reproduced on WinXP -> set platform to all changed status to confirmed. reassigned owner to jw
jw: reassigned to fme
.
SBA: According to the OpenOffice.org roadmap (see http://tools.openoffice.org/releases) this issue was retargeted to "OOo Later".
*** Issue 18239 has been marked as a duplicate of this issue. ***
*** Issue 6491 has been marked as a duplicate of this issue. ***
SBA->FME: This one is a defect (not an enhancement, thus closing issue 62135 as duplicate). MS Word ignores them, by the way. I set the target to OOo 2.x (see internal b6463498).
*** Issue 62135 has been marked as a duplicate of this issue. ***
FME: Fixed in cws swqbf85, findtxt.cxx rev. 1.17.30.1
FME: Ready for QA.
SBA: Verified in CWS swqbf85.
Maybe it is possible to fix the same way also issue 62136 (treat non-breaking hyphens and spaces like normal ones)? There was commented by the people of openoffice that it looks a lot like this issue. Maybe it is possible to fix also this issue using the same code like here? Would be great...
SBA: Verified in CWS c07v007. SBA->timi_openoffice: It is not as easy as it looks. I understand that "Use the same code" looks like a tempting "close-to-no-effort" thing... See my comments in issue 62136.
SBA: OK in OOE680m5 Build 9093. Closed.