Issue 17216 - Add "keep case" option for Search/Replace
Summary: Add "keep case" option for Search/Replace
Status: CLOSED DUPLICATE of issue 17188
Alias: None
Product: ui
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: PC Windows XP
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: bettina.haberer
QA Contact: issues@ui
URL:
Keywords: oooqa
: 37421 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-07-22 08:58 UTC by rogerathome
Modified: 2008-06-25 15:15 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description rogerathome 2003-07-22 08:58:13 UTC
In the current Search / Replace option it is not possible to search for a word
and then let it Replace while keeping the case. Because it is very common in
documents and spreadsheets to have one word with different case types this would
be a very handy and user friendly enhancement.
Comment 1 Oliver Specht 2003-07-22 09:12:20 UTC
Reassigned to bh
Comment 2 rogerathome 2003-09-13 11:40:33 UTC
Reposted for review.
Comment 3 ftack 2005-01-25 19:37:03 UTC
I am not surprised to find this issue, but I am very surprised it has not been
confirmed yet. Steps to reproduce the problem:

* Open a Writer document

* Enter the following text.

Hydrated oxides are very important in retaining metals. When hydrated oxides are
exposed to a reduced environment

Press Ctrl+F to call the find & replace dialog. Enter "hydrated" in the search
for box and "hydrous" in the replace box. All instances of hydrated and Hydrated
are replaced with hydrous. It probably was the intention to have Hydrated
replaced by Hydrous, hydrated by hydrous, and I feel this should be the default
behaviour in a modern wordprocessor (perhaps not in a text editor). Currently,
this very common use of Search/replace can only be tackled safely using two runs.


Comment 4 hwoarang 2006-01-11 22:06:37 UTC
*** Issue 37421 has been marked as a duplicate of this issue. ***
Comment 5 eponymous 2007-09-18 22:18:32 UTC
Yes, this is a bear of a bug.

Put another way:

If "match case" is checked, Writer will find only case-matched items (e.g., a search on "hydrated" will not 
find "Hydrated"). If "match case" is not checked, Writer will replace with the case of the replace term (e.g., 
"hydrous" will replace "Hydrated").

MSWord will, IIRC, honor the case of the words being replaced as the default behavior, which is correct, 
IMO.
Comment 6 ace_dent 2008-06-25 15:13:03 UTC
This is a duplicate of:
Issue 17188 - Find and Replace doesn't take case of original word in to account.

Please feel free to add your comments and vote to i17188.

Regards
Andrew

Cleaning-up and Closing old Issues as part of:
~ The Grand Bug Squash, pre v3 ~
http://marketing.openoffice.org/3.0/announcementbeta.html


*** This issue has been marked as a duplicate of 17188 ***
Comment 7 ace_dent 2008-06-25 15:15:50 UTC
Closed.