Problem:
Trying to replace all occurrences of "debug_client" with "DebugClient", when the "Whole word" option is selected in the Search&Replace dialog, causes also partial word replacements. E.g. both of the following were replaced:
genericapi: debug_client
genericapi_all: debug_client_all
Note that in the 2nd line, debug_client does not appear as a whole word.
Patch:
The _replace() method in SearchAndReplace.java file noWordSep is assigned with wordBreakChars. So i changed it to assign noWordSep
Jarek Czekalski
texteditor
None
Public
|
Date: 2012-07-31 12:05:44 PDT r21965 |
|
Date: 2012-07-30 00:04:51 PDT I'll change it manually, no need to resubmit. |
|
Date: 2012-07-29 23:33:57 PDT Ya it is a mistake. No need for that condition. Do i have to submit the |
|
Date: 2012-07-29 23:00:35 PDT Are you saying: "it's a mistake"? |
|
Date: 2012-07-29 17:45:35 PDT The reason I included "noWordSep.isEmpty()" is that before changing |
|
Date: 2012-07-29 11:24:55 PDT Malahti, you found and fixed an evident bug. Thanks for that. But I wonder |
|
Date: 2012-07-27 10:56:46 PDT This is a patch for bug #3543524 |
|
Date: 2012-07-13 23:39:27 PDT Hey I am creating this patch with the version 4.5.2 |
| Filename | Description | Download |
|---|---|---|
| Patch | Patch | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2012-07-31 12:05:44 PDT | jarekczek |
| resolution_id | None | 2012-07-31 12:05:44 PDT | jarekczek |
| close_date | - | 2012-07-31 12:05:44 PDT | jarekczek |
| assigned_to | nobody | 2012-07-29 11:24:55 PDT | jarekczek |
| summary | "Whole word" option does not work in Replace - ID: 3522497 | 2012-07-13 23:39:27 PDT | Malathi |
| File Added | 448837: Patch | 2012-07-13 06:34:41 PDT | Malathi |