Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search my bookmarks like okular does. #943

Open
nazar2sfive opened this issue Dec 9, 2017 · 3 comments
Open

Search my bookmarks like okular does. #943

nazar2sfive opened this issue Dec 9, 2017 · 3 comments

Comments

@nazar2sfive
Copy link

nazar2sfive commented Dec 9, 2017

I want sumatrapdf to give me a search box on top of bookmarks to allow me to search just for bookmarks. This would allow me to quickly search for just the heading/subheading of a chapter.

image

@nazar2sfive
Copy link
Author

image

@GitHubRulesOK
Copy link
Collaborator

IT should be posible for someone to add the needed alterations to the core code however it seem not to be a trivial request (unless in-part redirecting existing search). I tried to emulate what may be the desired actions using DOS console commands.

Admitedly this is NOT the way to go, but serves to highlight potential holes in any scope of requests I saved the following code as JUMP.cmd then at dos prompt used jump first few letters of filename then first few letters of bookmark e.g. Jump Examp Index (see my test runs below)

 @echo off && FORFILES  /M "%1*.pdf" /C "cmd /c start C:/Progra~1/SumatraPDF/SumatraPDF.exe -named-dest %2 @file"
  1. When you search for a bookmark (named destination) the search is often not case sensitive
    (I had issues in the past when there are different bookmarks with different cases.)
    There needs to be a similar Case Sensitive/insensitive togle as per document search.

  2. When you type partial bookmark entries, the search will stop at the first match,
    There needs to be a search Next and search Previous button (same as the main search)

  3. My experience suggests that I can use the main search methods almost as quickly as if there was one dedecated just to the bookmark area, however in larger files of more that a few hundred pages, I can appreciate the speed of jumping say 50% before a search starts.

Personally I would suggest such a feature could use the existing function controls but the search needs to be flipped between the two canvas areas e.g. it could be tied to using the current F6 toggle to provide a simple "either/or" solution.

Untitled

@nazar2sfive
Copy link
Author

nazar2sfive commented Aug 19, 2019

i have found that wps office first searches bookmarks then start searching form pg1 to end. so bookmark search are first in priority if that is selected.

but i sincerely wish a seperate bar for searching bookmark like in okular.
image

@kjk kjk changed the title Feature request : Search my bookmarks like okular does. Search my bookmarks like okular does. Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants