You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I select text and press Ctrl+f, it automatically opens search in the infowindow and inserts selected text there. But it treat it like a regex.... If for example I selected my_func() to see where this function is called without arguments I will get a regex with empty group () so I will get all the places where the function is called (also counting places where it is called with arguments) or even if I just use it for assigning a variable/lambda like var a = my_func.
In general I could rewrite this issue as I need a literal search mode like in the replace(all) commands
Specifications
Commit hash: current master
OS: Debian 12/testing
Terminal: foot
The text was updated successfully, but these errors were encountered:
You can already do literal search, by using Alt-Shift-f instead of Ctrl-f. Or you can bind Ctrl-f to FindLiteral instead of the default Find.
But yeah, it makes sense to automatically escape the selected text in the case of regex search, so that it does the right thing in all cases. Fixed in 399134f.
Description of the problem or steps to reproduce
When I select text and press
Ctrl+f,
it automatically opens search in the infowindow and inserts selected text there. But it treat it like a regex.... If for example I selectedmy_func()
to see where this function is called without arguments I will get a regex with empty group()
so I will get all the places where the function is called (also counting places where it is called with arguments) or even if I just use it for assigning a variable/lambda likevar a = my_func
.In general I could rewrite this issue as I need a literal search mode like in the
replace(all)
commandsSpecifications
Commit hash: current master
OS: Debian 12/testing
Terminal: foot
The text was updated successfully, but these errors were encountered: