By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2334

Summary: TDEFileReplace: remember search and replace strings in dialog
Product: TDE Reporter: Michele Calgaro <michele.calgaro>
Component: non-core programsAssignee: Michele Calgaro <michele.calgaro>
Status: RESOLVED FIXED    
Severity: enhancement CC: bugwatch, darrella, michele.calgaro
Priority: P5    
Version: R14.0.0 [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2247    

Description Michele Calgaro 2015-01-28 22:55:20 CST
Open TDEFileReplace and open the Search & Replace in Files dialog (menu Search/Replace -> Customize Search/Replace session). Both the Search: and Replace: fields do not remember any string recently used. It would be good to add comboboxes and make TDEFileReplace remember the last strings used, the same way it is already done for the Location: field.
Comment 1 Darrell 2015-01-29 19:49:52 CST
I am reminded of a related deficiency with the same text box widgets.

When I want to modify more than one line in multiple files, such as all of my TDE build scripts, I open one build script in kate. I copy the affected lines and paste into the Search text box in tdefilereplace. I again paste the text into the Replace text box, but in the Replace text box I edit the text as desired for the changes.

The deficiency is the text box widgets do not display non text characters, specifically line breaks. All I see is a corresponding space, which renders manual editing of the Replace text box a challenge.

Whether non text characters should display as the default is not as important as the ability to at least display the characters. Especially because multiple lines appear in both text boxes as a single line.

Perhaps the only issue here is simply to display line breaks. The common symbol used is the pilcrow. Or perhaps the text box widgets should be able to show multiple lines as multiple lines rather than a single line.
Comment 2 Michele Calgaro 2015-01-29 20:00:27 CST
Darrell, could you file 'comment 1' that as a separate bug? Let's keep things tidy :-)
Comment 3 Michele Calgaro 2015-02-03 22:42:12 CST
Fixed in commit 61424d3.
Comment 4 Darrell 2015-02-04 12:12:21 CST
Much better. :)