QtCreator editor, select all, auto-indent selection and cursor problem [Solved]
-
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?
-
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.
-
This shoud be the solution... I can't find the hotkey. Do you know it?
-
ctrl + alt + left is the hotkey - or actually a combination of keys that's hot :-)
-
[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.
-
Ok, ALT + Left do the works! :-)