Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: teaburger on January 05, 2010, 07:52:12 am

Title: placing cursor beyond end of line?
Post by: teaburger on January 05, 2010, 07:52:12 am
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.
Title: Re: placing cursor beyond end of line?
Post by: oBFusCATed on January 05, 2010, 08:34:48 am
Code
if (...)
{
  |x;
  |<---here
}
So you want to move the cursor from the first "|" to "| <---here" possition, using down key?
Title: Re: placing cursor beyond end of line?
Post by: teaburger on January 05, 2010, 04:18:14 pm
Yes, that is what I'm trying to do.