Geany starts searching for the next occurrence from the end of the current match, so yes it will not find overlapping matches.
Functions associated with search such as:
a+
would be found four times in aaaab
if it restarted from the next character, aaaa
, aaa
, aa
, a
and that is not likely to be what the user expects and in fact could be quite annoyingAnd to be consistent all searches do the same thing, start from the end of the previous match.
All other editors and IDEs I have installed (Xed, Gedit, Vscode) all work this way too.
This is a useful and safe way to behave for the general use-case as a code editor where overlapping strings are unlikely to be relevant.
Therefore this is not considered a bug.
If someone really needed the overlapping search capability they could add it in a plugin.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.