QtCreator editor, select all, auto-indent selection and cursor problem [Solved]
-
wrote on 30 Sept 2011, 08:41 last edited by
Hi all,
do you use the following keys sequence?
@
CTRL + A (to select all)
CTRL + I (to auto-indent all)
@I always use it but there is a problem. After indenting the code, I need to "exit" from selection but if I press one of the arrows in my keyboard the cursor of the editor go on the bottom of the page.
It should be better to get the cursor in the same place it was before the selection...What do you think about?
-
wrote on 30 Sept 2011, 14:03 last edited by
After you press ctrl + i, press ctrl + alt + left. This is the hotkey for "Go back" action, which returns the cursor to its previous position.
-
wrote on 30 Sept 2011, 15:25 last edited by
This shoud be the solution... I can't find the hotkey. Do you know it?
-
wrote on 30 Sept 2011, 23:13 last edited by
ctrl + alt + left is the hotkey - or actually a combination of keys that's hot :-)
-
wrote on 1 Oct 2011, 07:10 last edited by
[quote author="Volker" date="1317424408"]ctrl + alt + left is the hotkey - or actually a combination of keys that's hot :-)[/quote]
For me "ctrl + alt + left" doesn't do the works. It isn't a shortcut at all.
-
wrote on 1 Oct 2011, 07:15 last edited by
Ok, ALT + Left do the works! :-)
1/6