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
Find Previous disabled #1494
Comments
Doesn't happen for me with latest Geany. Perhaps you need to give more information about what you are doing. |
Open new document. Select "Find" from "Search" menu (ctrl+f). Next is enabled, Previous is disabled. |
Don't have Xubuntu, but doesn't happen here, what versions of GTK and Glib is it using? Can you try the latest version of Geany (1.30.1) from the PPA. |
It happens here if you enable regular expression searching, which makes sense since it probably can't match expressions backwards. |
Good catch! Previous doesn't work with regular expressions enabled, but does work with regular expressions disabled. As you say, makes sense. Fixed! |
I'm surprised this has remained broken for so long, and further surprised that the issue was closed (at least twice)! Navigating to the previous regex match remains broken in the latest Geany (1.32) and, unfortunately, this appears to be "by design" (the same bug was reported in 2011)! In any case, Geany is the only text editor I've used which does not support navigating to the previous regex match. |
@dicktyr its not by design, its because the regular expression library does not support searching backwards so it would require finding all matches forwards from the start of the document and picking the one before the current position and nobody has written the code. Pull requests that add the facility are welcome, attempts to shame volunteer contributors are not. |
hence it seems quite reasonable that this issue should remain open until then (@elextr by the way, I made no attempt to shame anybody |
@dicktyr the OP closed the issue, not any of the Geany contributors, thats their decision. |
Find dialog shows "Next" enabled but "Previous" disabled.
Xubuntu 17.10 with latest version of Geany from repository (1.29)
The text was updated successfully, but these errors were encountered: