Menu

#68 Grep Search Errors when Searching for Tab Char

Cannot_Reproduce
closed-out-of-date
nobody
None
7
2018-03-31
2018-02-19
Erik Berry
No

Bug report from a GExperts user using XE7:

The grep search feaure shows a popup error for each file it searches if you search for a tab character.

Copy a tab char by selecting it on the code editor + Ctrl+C, start a grep search, configure it to search on the entire project files, paste the tab char in the search field and click the Search button. You have 1 error popup for each file contained in the project. For a huge project this means that the mouse button have to be clicked more than 1000x to close all the popups, or the RAD Studio instance should be killed, loosing thus all your recent changes.

NOTE search a tab char would be useful for me, because my company is strongly focused on the cleanliness of the code.

Bug Details:
The bug is reproducible 100% of the time

Steps:
1. Copy a tab char in the clipboard
2. Start a grep search, configure it to search in all project files
3. Paste the tab char in the search field
4. Click on the start button
5. Close all the popups that will be opened

Configuration:
OS: Windows 7 6.1 (Build 7601: Service Pack 1)
GExperts: GExpertsRSXE7.dll 1.3.7.0 from 05.09.2014 03:37:30
IDE: ideRSXE7
ComCtl32: 6.10.7601.18837

Discussion

  • Thomas Mueller

    Thomas Mueller - 2018-03-04

    I cannot reproduce this with the current source code. Searching for a TAB character simply results in the error message "The search text is empty.", once.

     
  • Erik Berry

    Erik Berry - 2018-03-05

    I don't have Delphi installed at the moment, so I cant verify it either. It might be fixed. Did you try with the RegEx setting both on and off?

     
  • Thomas Mueller

    Thomas Mueller - 2018-03-31

    I'm closing this. I cannot reproduce it. Grep with regex and \t works fine, Grep with a tab character in the search field gives the error message "The search text is empty." So, it was probably already fixed in a later version.

     
  • Thomas Mueller

    Thomas Mueller - 2018-03-31
    • status: open --> closed-out-of-date
    • Group: New --> Cannot_Reproduce
     

Log in to post a comment.