Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-18416

Cursor always jumps to end of code editor when typing Cmd-S for save

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.3.1
    • Qt Creator 4.3.0
    • Quick / QML Support
    • None
    • MacOS 10.11.6 (El Capitan).

      Qt Creator 4.3.1
      Based on Qt 5.9.0 (Clang 7.0 (Apple), 64 bit)
      Built on May 28 2017 14:24:00
      From revision bfd818b2b1

       

    Description

      When editing code, every time I type Cmd-S to save changes, the cursor jumps to the very end of the document. I then have to scroll upwards and find the location where I had been working, so it's quite annoying.

      Additional info:

      • This only happens with QML and JavaScript files, not cpp, pro, etc.
      • Turning off "Enable auto format on file save" in the QtQuick -> QML/JS Editing preferences eliminates the problem – but at the expense of no more auto-formatting

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mabenell Marco Benelli
            waltpurvis Walter Purvis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes