User forums > Using Code::Blocks

Find Declaration leaves declaration hidden

(1/2) > >>

k1mgy:
Find Declaration is nice.  It finds the declaration, but puts the cursor

void incrementError(char *fmt, ...)
{
<-here

and therefore this text:
  void incrementError(char *fmt, ...)
  {
appears beyond the visible area at the top of the viewport.

Note: my formatting convention is
funcname()
{
not
funcname(){

Is this a bug?

MortenMacFly:

--- Quote from: k1mgy on November 23, 2005, 03:24:41 am ---Is this a bug?

--- End quote ---
I would wonder because I for myself like exactly this. I believe in most cases you want to change something inside the funtion if you are searching for the declaration, not the declaration itself. So if you start inside the function you save 2x "cursor down"... :lol: I guess it's a philosophic question...

Morten.

k1mgy:
For me it's a confidence question.  Each time I ask "is this the function"?

MortenMacFly:

--- Quote from: k1mgy on November 23, 2005, 10:59:04 am ---For me it's a confidence question.  Each time I ask "is this the function"?

--- End quote ---
I see... but how can you be sure if the cursor is just 1 or 2 lines above? It's the same algorithm that would be used, so you have to trust C::B anyway...?!

Morten.

...dropping out.

k1mgy:
It's annoying and yes I can live with it, but am hoping that it can be fixed someday. 

Navigation

[0] Message Index

[#] Next page

Go to full version