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

Multicursor: Pressing Backspace over whitespace gives different results

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 13.0.0-rc1
    • Qt Creator 13.0.0-beta1
    • Editors
    • None
    • All
    • a18522334c2770936cd23d6a66448ceb977a4f35

    Description

      Observation: It seems that logic was introduced to delete multiple whitespaces at once, not one after another like in former versions. That may be related to this bug.

      • Have multiple cursors after leading whitespace (e.g. the typical indentation within blocks), in the same column
      • Press backspace
      • Expection: One space or all spaces are deleted, cursors are still in the same line and at the same column
      • Result: All whitespace is deleted (ok), the first cursor is still the correct line and first column, but the second cursor is in the previous line and the line containing the spaces is removed

      See attached video for a demo.

      Attachments

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

        Activity

          People

            davschul David Schulz
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes