PDA

View Full Version : Key sequence to start new line in editor



dwarnold45
31st March 2010, 06:32
All,

Does anyone know if there is a key sequence that will start a new line, even if the cursor is in the middle of a line of code?

David

Lykurg
31st March 2010, 09:25
Enter or Shift+Enter? But I guess you mean a key that leaves the current line as it is and start a new line at the end of that row. I don't know one, because it is easy to achieve: End+Return. But you can define your own, and use QTextCursor to do so.