Sumatrapdf: Find / Search features

Created on 3 Apr 2015  ·  6Comments  ·  Source: sumatrapdfreader/sumatrapdf

*Find all instances of a string (spaces should be considered as a character):

  • just like in WinDjView (and as fast, at least for djvu files), which lists the findings and allows one to "move" to the respective page;
  • with an option to cancel the search (in case it takes too long to finish; in which case an option to choose the pages or range of pages to search would be useful) - http://forums.fofou.org/sumatrapdf/topic?id=3183376
  • highlighting all instances of the string, just like in Firefox - http://forums.fofou.org/sumatrapdf/topic?id=3184488
  • with an option for case sensitivity (it could activate case sensitivity automatically only if one used a capital letter);
  • allowing one to dehighlight found instances of the string (e.g., just by clicking the word);
  • allowing one to highlight "permanently" the non-dehighlighted instances of the string;

*suggestions ordered by relevance

Most helpful comment

As issue #1765 is considered as a duplicate, I paste my suggestions here in this main thread for easy navigation.

First, thank you all the contributors to this great project. It's light and fast, yet powerful.

I would like to keep Sumatra as my only PDF reader. However, there is one feature that is missing: highlight and number all the matching instances in search results. I believe that a great number of users would like this feature as well.

Hopefully, it will

  1. highlight all matching instances in PDF contents
  2. show the total number of matching instances, as well as which one you are currently at (e.g. 5/117)
  3. indicate the locations for all matching instances by placing a small horizontal line on the scrollbar on the right

Basically, similar to what Google Chrome does for PDF search results. Similar previous suggestions can be found here, but seem to have been left neglected in history.

At present, the search results only show the ONE matching instance that you are currently at. No numbers, no highlights for other instances, and no indication of the locations of all matching instances.

Any consideration for this? It'd be awesome if this feature could be implemented.

Cheers

All 6 comments

It would be nice to get "find all" option similar to one in Acrobat or Notepad++:

  • Find all occurrences would generate list of items with page on which it was found.
  • add Hyperlink if possible
  • add export list to a text file.

if possible.

As a workaround, and possibly some source code would aid in adding this _highly desirable_ feature to SumatraPDF, you may want to review pdfgrep, which appears in several forms:

It would be very nice, to have a "Advance Search" button with the possibility to select a folder in the file system and search for a string in all PDFs.

@Emanz93
System searching outside a PDF application is handled by windows index & search functions.
The encrypted contents of PDFs can be decrypted by said applications with a system filter and the contents exposed to Windows Explorer search. There is a very good one available with Adobe Reader and If you have installed that it is best to keep it. SumatraPDF does not normally scan folders of files (except to allow selecting the next alphabetic entry), however during installation it does provide the option to install its own IFilter.

As issue #1765 is considered as a duplicate, I paste my suggestions here in this main thread for easy navigation.

First, thank you all the contributors to this great project. It's light and fast, yet powerful.

I would like to keep Sumatra as my only PDF reader. However, there is one feature that is missing: highlight and number all the matching instances in search results. I believe that a great number of users would like this feature as well.

Hopefully, it will

  1. highlight all matching instances in PDF contents
  2. show the total number of matching instances, as well as which one you are currently at (e.g. 5/117)
  3. indicate the locations for all matching instances by placing a small horizontal line on the scrollbar on the right

Basically, similar to what Google Chrome does for PDF search results. Similar previous suggestions can be found here, but seem to have been left neglected in history.

At present, the search results only show the ONE matching instance that you are currently at. No numbers, no highlights for other instances, and no indication of the locations of all matching instances.

Any consideration for this? It'd be awesome if this feature could be implemented.

Cheers

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gblazex picture gblazex  ·  7Comments

kyle-goodwin picture kyle-goodwin  ·  7Comments

kbitlive picture kbitlive  ·  7Comments

bigretromike picture bigretromike  ·  8Comments

lollita picture lollita  ·  5Comments