Feature request: some enhancements for searching

Working on new editor enhancements?
Seymour Clufley
Addict
Addict
Posts: 1265
Joined: Wed Feb 28, 2007 9:13 am
Location: London

Feature request: some enhancements for searching

Post by Seymour Clufley »

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.
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."
#NULL
Addict
Addict
Posts: 1499
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: Feature request: some enhancements for searching

Post by #NULL »

>> 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.
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Re: Feature request: some enhancements for searching

Post by AND51 »

My wish is to have Regular Expression support for both, searching and replacing!
PB 4.30

Code: Select all

onErrorGoto(?Fred)
Seymour Clufley
Addict
Addict
Posts: 1265
Joined: Wed Feb 28, 2007 9:13 am
Location: London

Re: Feature request: some enhancements for searching

Post by Seymour Clufley »

AND51 wrote:My wish is to have Regular Expression support for both, searching and replacing!
Yes, that would be very useful.

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."
Seymour Clufley
Addict
Addict
Posts: 1265
Joined: Wed Feb 28, 2007 9:13 am
Location: London

Re: Feature request: some enhancements for searching

Post by Seymour Clufley »

Seymour Clufley wrote:my idea about the automatic highlighting post-dialogue would be much simpler to implement!
and it seems like they've done it! Thanks PB team!
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."
User avatar
Michael Vogel
Addict
Addict
Posts: 2807
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Feature request: some enhancements for searching

Post by Michael Vogel »

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
Little John
Addict
Addict
Posts: 4789
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Feature request: some enhancements for searching

Post by Little John »

I would also like to be able to use shortcuts, like Alt-F for "Find" etc.
The shortcut for "Find" is [Ctrl]+[F]. However, you can define your own shortcuts if you like.

Basic things first: By far the most important required change for searching is, to make "Find whole words only" work properly!!

Regards, Little John
User avatar
Michael Vogel
Addict
Addict
Posts: 2807
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Feature request: some enhancements for searching

Post by Michael Vogel »

Little John wrote:
I would also like to be able to use shortcuts, like Alt-F for "Find" etc.
The shortcut for "Find" is [Ctrl]+[F]. However, you can define your own shortcuts if you like.

Basic things first: By far the most important required change for searching is, to make "Find whole words only" work properly!!

Regards, Little John
Sorry, did not mention that the shortcut should work within the dialog to have quick access to the buttons (and radio buttons) :?
Absolutely agree to the "whole word issue" (regardless who started the thread you're referencing :lol:)

/v\
Little John
Addict
Addict
Posts: 4789
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Feature request: some enhancements for searching

Post by Little John »

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) :?
Aah, I see.
Michael Vogel wrote:Absolutely agree to the "whole word issue" (regardless who started the thread you're referencing :lol:)
:lol:

Regards, Little John
Post Reply