These are minor points but I do think they would be helpful when writing code.
Ability to search ONLY in strings, comments etc. and also in structure fields etc. Basically, more precise searching.
Finally, and this is really minor but really annoying... when the search term is not found, a dialogue comes up saying so. Press ENTER to get rid of that dialogue and ideally, the search input bar should be highlighted so you can try a different search string. It isn't highlighted. Doing it all with the keyboard, you have to press ESC to close the search box then Ctrl+F to get it up again, in order to get the search input bar highlighted. I'd rather this was done automatically when the dialogue box is closed.
Feature request: some enhancements for searching
-
- Addict
- Posts: 1265
- Joined: Wed Feb 28, 2007 9:13 am
- Location: London
Feature request: some enhancements for searching
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
Re: Feature request: some enhancements for searching
>> Ability to search ONLY in strings, comments etc. and also in structure fields etc. Basically, more precise searching.
i often wished to have that. for structures fields i precede the search string with a backslash i.e. "\field".
and yes the messagebox is not helpful.
i often wished to have that. for structures fields i precede the search string with a backslash i.e. "\field".
and yes the messagebox is not helpful.
Re: Feature request: some enhancements for searching
My wish is to have Regular Expression support for both, searching and replacing!
PB 4.30
Code: Select all
onErrorGoto(?Fred)
-
- Addict
- Posts: 1265
- Joined: Wed Feb 28, 2007 9:13 am
- Location: London
Re: Feature request: some enhancements for searching
Yes, that would be very useful.AND51 wrote:My wish is to have Regular Expression support for both, searching and replacing!
But my idea about the automatic highlighting post-dialogue would be much simpler to implement!
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
-
- Addict
- Posts: 1265
- Joined: Wed Feb 28, 2007 9:13 am
- Location: London
Re: Feature request: some enhancements for searching
and it seems like they've done it! Thanks PB team!Seymour Clufley wrote:my idea about the automatic highlighting post-dialogue would be much simpler to implement!
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
- Michael Vogel
- Addict
- Posts: 2807
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: Feature request: some enhancements for searching
Yes, the focus has been set for the find text some releases ago, that's helpful...
...I would also like to be able to use shortcuts, like Alt-F for "Find" etc.
Additional ideas:
• "Find previous" (Shift-F3)
• Highlighting ALL finds
• Search for Comments, Strings, Variables, Procedure/Macro names only
...I would also like to be able to use shortcuts, like Alt-F for "Find" etc.
Additional ideas:
• "Find previous" (Shift-F3)
• Highlighting ALL finds
• Search for Comments, Strings, Variables, Procedure/Macro names only
-
- Addict
- Posts: 4789
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Feature request: some enhancements for searching
The shortcut for "Find" is [Ctrl]+[F]. However, you can define your own shortcuts if you like.I would also like to be able to use shortcuts, like Alt-F for "Find" etc.
Basic things first: By far the most important required change for searching is, to make "Find whole words only" work properly!!
Regards, Little John
- Michael Vogel
- Addict
- Posts: 2807
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: Feature request: some enhancements for searching
Sorry, did not mention that the shortcut should work within the dialog to have quick access to the buttons (and radio buttons)Little John wrote:The shortcut for "Find" is [Ctrl]+[F]. However, you can define your own shortcuts if you like.I would also like to be able to use shortcuts, like Alt-F for "Find" etc.
Basic things first: By far the most important required change for searching is, to make "Find whole words only" work properly!!
Regards, Little John

Absolutely agree to the "whole word issue" (regardless who started the thread you're referencing

/v\
-
- Addict
- Posts: 4789
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Feature request: some enhancements for searching
Aah, I see.Michael Vogel wrote:Sorry, did not mention that the shortcut should work within the dialog to have quick access to the buttons (and radio buttons)
Michael Vogel wrote:Absolutely agree to the "whole word issue" (regardless who started the thread you're referencing)

Regards, Little John