Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Michael on January 14, 2006, 07:07:54 pm

Title: Find option - Suggestion
Post by: Michael on January 14, 2006, 07:07:54 pm
Hello,

I have remarked when using the Find option (Search menu) for searching something in a file, that no message is displayed when there is no further occurrence of the searched text. For example, I have searched for "space_left" in the manager.cpp (wxAUI) and correctly the Find found the only occurrence. But if I pressed F3, then nothing happen (of course, because there are no more occurrence :)). In such a case, it would not be a good idea to display a message saying that no further occurrence of "space_left" exists in the manager.cpp?

Best wishes,
Michael

PS.: I am using rev1754
Title: Re: Find option - Suggestion
Post by: takeshimiya on January 14, 2006, 07:12:36 pm
In the status bar please.

No annoying evil pop up messages.
Title: Re: Find option - Suggestion
Post by: 280Z28 on January 14, 2006, 07:12:44 pm
That should only occur when the text occurs exactly once in the file, am I right?

In the status bar please.

No annoying evil pop up messages.

Sounds like a good idea. :) That work for you Michael?
Title: Re: Find option - Suggestion
Post by: killerbot on January 14, 2006, 07:14:25 pm
Some programs do it with a dialog box, can be annoying, on the other hand sometimes they allow to start from the beginning again (suppose you started your search in the middle)
Title: Re: Find option - Suggestion
Post by: mandrav on January 14, 2006, 07:28:40 pm
"Settings->Editor->AutoWrap search when EOF reached"
Title: Re: Find option - Suggestion
Post by: Michael on January 14, 2006, 07:47:48 pm
"Settings->Editor->AutoWrap search when EOF reached"

Ah, yes, I see. I had this option enabled. Disabling it and it displays a "text not found" message :D. Thank you very much.

Michael
 
Title: Re: Find option - Suggestion
Post by: thomas on January 14, 2006, 11:56:03 pm
You might try turning on the audio speaker, too. We have the machine that goes Binnnnnng. :)
Title: Re: Find option - Suggestion
Post by: Michael on January 16, 2006, 11:19:39 am
You might try turning on the audio speaker, too. We have the machine that goes Binnnnnng. :)

Unfortunately no bing for me :D. I share an office with a colleague and to avoid disturbing each other with sounds, music, bings and so on we kept our notebooks silent.

Michael
Title: Re: Find option - Suggestion
Post by: thomas on January 16, 2006, 12:07:28 pm
Ah, I see you don't have the machine that goes Binnnng.

It's my favourite, though. You see, we lease this back from the company we sold it to, and that way, it comes under the monthly current budget and not the capital account.