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

Double-click of removed line in diff viewer jumps to wrong line

    XMLWordPrintable

Details

    • c59c1661d1be62bcd2eaabb28be418db2dcc1960

    Description

      1. Open a git diff which contains the removal of lines.
      2. In the left half, double-click on such a removed line. Let say this is line n.
        An editor will open, showing the respective file. The cursor will be set to line n or n+1, no matter how many lines have been removed. This can be far away from the position where the change actually happened.

      Instead, the cursor should be in the first line which has not been removed before/behind the removed line.

      Attachments

        Issue Links

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

          Activity

            People

              jkobus Jarek Kobus
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes