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

double-clicking search results to open editor is not working on my machine #528

Open
joe-miller-hgs opened this issue Dec 24, 2024 · 4 comments

Comments

@joe-miller-hgs
Copy link

joe-miller-hgs commented Dec 24, 2024

in grepWin version 2.1.7.1406 Settings>Editor, I have: "C:\Program Files\Notepad++\notepad++.exe" -n%line% -c%column% "%path%".

when I double-click on any column, any row of the 'Search results' section, nothing happens.

when I create a cmd line with the above editor setting with real %line%, %column% and %path% values from the 'Search results', the command opens npp with correct file at correct line and column.

i experimented with ordering of %line%, %column% and %path% in grepwin settings, but no change in behavior.

anybody else seeing this?
is it a bug or something unique to my machine?
if unique to me, any ideas what might be causing it?

@stefankueng
Copy link
Owner

works fine for me. Please check that you really have the x64 version of npp installed and not the win32 version (that would then be in C:\Program Files (x86) ).

Also check the windows event log, maybe a 'security' app blocked the start of the app.

@DawoodMajoka
Copy link

DawoodMajoka commented Jan 17, 2025

I have the same problem. With 64 bit version. The bug is some problem with blanks in the path! If you have "D:\Book in Txt\My book.txt" he finds the the search term. But when openning with double click says that the folder "D:\Books" could not be opened! Ignoring everything after the first blank in the file path.

So the problem is only with the double click, not with the search.

@joe-miller-hgs
Copy link
Author

thanks to stefankueng and DawoodMajoka for your suggestions.
the solution to this problem for me is to open grepwin as admin.
i just happened to open grepwin as admin tonight, and when i clicked on a search result, npp opened to the correct file, line and column.
this solution works fine for me and might be a quirk of other settings elsewhere on my box.
thanks again for your help.

@DawoodMajoka
Copy link

DawoodMajoka commented Jan 20, 2025

for me starting grepwin as admin is not functioning. must be something with your settings i assume.

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

3 participants