[IDE] - Stop the prompts at end of search.

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

[IDE] - Stop the prompts at end of search.

Post by skywalk »

Please stop or make the prompts at ends of searches optional. Instead just automatically wrap to the start of the file. :idea:
Similar to Notepad++ behavior, [x] Wrap around.
Search wrote:No more matches found. Do you want to search from the start of the file?
If I do, then I have to hit Ok.
If I don't then I have to hit Cancel.
If the prompt doesn't show up I can stop whenever I like :)
Last edited by skywalk on Sat Mar 02, 2013 5:17 am, edited 1 time in total.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: [IDE] - Stop the prompts at end of search.

Post by MachineCode »

Um, but without a prompt, how will I know I've found the last match? Let's say it does what you want, and I'm at the last match. I press F3 again, and bang, I'm now at the top of my source when I really wanted to be at that last match. Now I have to search for it all over again to get to the last match.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: [IDE] - Stop the prompts at end of search.

Post by skywalk »

Yeah, this is why I said 'optional'.
In Notepad++, it is called [x] Wrap around.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: [IDE] - Stop the prompts at end of search.

Post by MachineCode »

Oops, so you did. :oops:
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [IDE] - Stop the prompts at end of search.

Post by Little John »

skywalk wrote:Yeah, this is why I said 'optional'.
In Notepad++, it is called [x] Wrap around.
As long as this "wrap around" will be optional and unchecked by default, I don't mind. :-)
User avatar
Janni
Enthusiast
Enthusiast
Posts: 127
Joined: Mon Feb 21, 2022 5:58 pm
Location: Norway

Re: [IDE] - Stop the prompts at end of search.

Post by Janni »

+1 to this wish.

"No more matches found. Do you want to search from the start of the file?"

Should be an option where it automatically search thru the whole document no matter what line you are at.

While I'm at it... a count match would be nice as well 8)
Spec: Linux Mint 20.3 Cinnamon, i7-3770K, 16GB RAM, RTX 2070 Super
Post Reply