Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-18226

QPlainTextEdit wrong position when cursor move to next row after delete.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.7.0
    • GUI: Text handling
    • None

    Description

      The case when bug appear is like that:
      1. There is document with long lines
      2. I move to next line and set at specific position in that line
      3. I mark part of that line from position to the end of line
      4. I delete that selection
      5. I move to next line
      Then seems that position in next line is calculated with ignorance fact of deletion - it seems that it calculates position in next line basing of position end of line before deletion.

      Attachments

        1. editor bug1.png
          12 kB
          Szyk
        2. editor bug2.png
          12 kB
          Szyk
        3. editor bug3.png
          11 kB
          Szyk
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            szyk Szyk
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes