Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: wtfisgoingoff on January 17, 2015, 01:54:47 pm

Title: Is there a shortcut use for "Insert a line above current line"?
Post by: wtfisgoingoff on January 17, 2015, 01:54:47 pm
I found shift+Enter "insert new line" in Edit->special commands->other.
And there is no "insert new line above current line" in keyboard plugin.(This is very convenient!!!)
Is it possible that I add this function to keyboard plugin or is there another plugin could do this ?

Thx
Title: Re: Is there a shortcut use for "Insert a line above current line"?
Post by: oBFusCATed on January 17, 2015, 09:11:09 pm
Nope, you'll have to modify the cbEditor class if you have the desire.
But what is the purpose of this command? Just do one up-arrow+ctrl-enter to do the same.