User forums > Using Code::Blocks

placing cursor beyond end of line?

(1/1)

teaburger:
Is there a way to place the typing cursor after the end of line in my code?

This can be useful, for example:

if (...)
{
  x;

}

If my cursor is on the "x;" line and I want to add code on the next line, I have to hit "down", add spaces, and then start typing.  It would be nice to just hit "down" and start typing.  The C::B would enter the right number of tabs/spaces.

oBFusCATed:

--- Code: ---if (...)
{
  |x;
  |<---here
}

--- End code ---
So you want to move the cursor from the first "|" to "| <---here" possition, using down key?

teaburger:
Yes, that is what I'm trying to do.

Navigation

[0] Message Index

Go to full version