AutoComplete for Find/Replace dialog

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

AutoComplete for Find/Replace dialog

Post by PB »

Quite often I change the name of a procedure or variable in my apps and do
a search/replace in the IDE to do it, but I need to type the name manually in
the dialog to do it. My suggestion (if possible?) is to have AutoComplete also
work in this dialog, so, for example, I could type the first letters of the data
to change and hit Tab to complete the name.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

Double-click on the procedure/variable in the source code to highlight it and then use ctrl-f. It will auto-fill the current selection.
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Post by Michael Vogel »

Hm,

never thought about that, I would like some other enhancements...

...a Hotkey (Ctrl-R) to get the same dialog with the replace option active and/or a change that the first tab key jumps to the stringgadget for the replace text

...or an option to highlight all found texts?

...or the function "Find previous"
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

@Mistrel: Nice, but often the stuff I want to replace is not where the cursor
is at, so I'd need to scroll and find it first... which defeats the purpose.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: AutoComplete for Find/Replace dialog

Post by skywalk »

Hi,
Please add keystrokes to the "&Replace" and "Find &Next" buttons?
Instead of having to mouse click over and over again. :(

Also, Shift+F3 to search in Reverse order would be much appreciated.
Last edited by skywalk on Sun Nov 25, 2012 8:59 pm, edited 1 time in total.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: AutoComplete for Find/Replace dialog

Post by blueznl »

Duh, a search backwards alternative for [F3] would be great indeed!
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply