Code::Blocks

User forums => General (but related to Code::Blocks) => Topic started by: BigAngryDog on September 20, 2006, 05:00:51 pm

Title: Suggestion Re. Search Results
Post by: BigAngryDog on September 20, 2006, 05:00:51 pm
Hi,

It seems that when I single click on a line in the search results pane, C::B's behaviour is to (attempt) to open the file, when in fact all I want is to give the result pane input focus. Many of my source files are 100s of 1000s of lines long - and single clicking on the search result effectively causes C:B to hang.

Would it not make more sense if the file open behaviour was changed to a double click?

Just a thought. :)
Title: Re: Suggestion Re. Search Results
Post by: killerbot on September 20, 2006, 05:09:28 pm
I agree !!!
Title: Re: Suggestion Re. Search Results
Post by: orefa on September 20, 2006, 05:30:17 pm
        ++
Title: Re: Suggestion Re. Search Results
Post by: David Perfors on September 20, 2006, 05:40:09 pm
++
Title: Re: Suggestion Re. Search Results
Post by: sethjackson on September 20, 2006, 06:39:57 pm
++
Title: Re: Suggestion Re. Search Results
Post by: artoj on September 20, 2006, 07:04:40 pm
Patch (http://ajonsson.kapsi.fi/search-results.patch)

It compiles, it's perfect.
Title: Re: Suggestion Re. Search Results
Post by: killerbot on September 20, 2006, 07:39:05 pm
I'll check this with the big boss and on approval will patch tomorrow ;-)
Title: Re: Suggestion Re. Search Results
Post by: artoj on September 21, 2006, 08:07:39 pm
The build messages list also syncs with one mouse click and so does the Todo list. So I don't think it makes sense if just one of these reacts with double click and rest with one click.

I think they all should act the same way: either patch them all or leave them like they currently are.
Title: Re: Suggestion Re. Search Results
Post by: Alturin on September 21, 2006, 10:50:54 pm
Woot, woot be smooth if this got imped :), has been on my "mutter mutter anoying" list for a while now :P (although not anoying enough to consider posting about it :P).
Title: Re: Suggestion Re. Search Results
Post by: Pecan on September 22, 2006, 12:29:18 am
If you will enable the "smooth message list scrolling"  feature of DragScroll plugin, you can use the right or middle mouse key to dragscroll the message/search windows without activating them.

Then you need only left click on the line for which you wish the editor to activate.

This feature may, however, conflict with the right mouse copy/paste/selectAll for some of the message windows.
Title: Re: Suggestion Re. Search Results
Post by: killerbot on September 29, 2006, 08:30:42 pm
double click coming this weekend  :lol:
Title: Re: Suggestion Re. Search Results
Post by: BigAngryDog on September 29, 2006, 09:45:28 pm
>double click coming this weekend

Good stuff!