Search for text in files should show the context

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
spamme1
Junior Member
Junior Member
Posts: 4
Joined: 2011-08-24, 23:04 UTC

Search for text in files should show the context

Post by *spamme1 »

Normally when you search files containing a certain text, most probably is a keyword. If the keyword is not really very specific, most probably you will receive a list of files, which force you to open one after the other to find out, which file you were looking for.
Given that total commander has already opened these files and read the content, it would be useful if part of the content containing the searched text is displayed, in this way it would be easier to identify the required file. Another improvement could be count how many times the text is found in the file content, but display all the matched contexts could be an overkill feature, overall if the searched text is a very common word like the "the" article.

For example searching for the word "files" could show the following result:
myfirstdocument.docx, text matches 2
"...Normally when you search files containing a certain text, most probably is a keyword..."
myseconddocument.docx, text matches 1
"...most probably you will receive a list of files, which force you to open one after the other to find out..."
mythirddocument.docx, text matches 4
"...Given that total commander has already opened these files and read the content..."
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Not really a new suggestion but would be great (full support)
http://ghisler.ch/wiki/index.php/Show_context_of_place_of_finding_in_text_searches
Post Reply