Ticket #875 (closed defect: fixed)
Case insensitive checkbox not taken into account in "Find in Files" dialog
| Reported by: | karl.forner | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | editor | Version: | 0.57 |
| Keywords: | Cc: |
Description
In the Search->Find in Files dialog, when the "case insensitive" checkbox is checked, the search is not "case insensitive".
Steps to reproduce it:
run Padre, hit "CTRL+SHIFT+F", type "getpane" in the "term" testfield, Pick the Padre source directory, check the "case insensitive" checkbox then hit find.
It won't find anything in the modules.
Then do it again, but this time type "GetPane?", this time you will get some hits.
Padre 0.57 r10981
This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
Wx::wxVERSION_STRING(), Wx::wxUNICODE())'
Wx Version=(0.94) wxWidgets 2.8.10 unicode=(1)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

made a quick fix. Apply the patch in the trunk directory.
Added error checking on the regexp, now display a messagebox on error, and cancel the dialog.
TODO: add dynamic error checking by adding an event to the dialog textfield.