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

extraSelection in QTextEdit cannot recover anchor position after undo the deletion of the selected text.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.2.1
    • GUI: Text handling
    • None
    • linux ubuntu 14.04

    Description

      I have a sentence, "Doc/code/qt".
      I selected code as extraSelection, like following "Doc/[code]/qt": [ and ] represent the range of selection. At first, the anchor and position of extraSelection are 4 and 8. After I delete the whole selected text, the anchor and position of extraSelection is 4 and 4. Finaly, after the undo of the deletion, they results in 8 and 8. I believe they should be 4 and 8 which are the first selection.
      Is this bug?

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            take takehiro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes