Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator editor, select all, auto-indent selection and cursor problem [Solved]
Forum Updated to NodeBB v4.3 + New Features

QtCreator editor, select all, auto-indent selection and cursor problem [Solved]

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 3 Posters 24.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    luca
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • U Offline
      U Offline
      uranusjr
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        luca
        wrote on last edited by
        #3

        This shoud be the solution... I can't find the hotkey. Do you know it?

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          ctrl + alt + left is the hotkey - or actually a combination of keys that's hot :-)

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • L Offline
            L Offline
            luca
            wrote on last edited by
            #5

            [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.

            1 Reply Last reply
            0
            • L Offline
              L Offline
              luca
              wrote on last edited by
              #6

              Ok, ALT + Left do the works! :-)

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved