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

TextEdit's cursor position does not follow selection when cursorDelegate is used

XMLWordPrintable

      When text is being selected, cursor position does not follow selection, but stays located after some word.

      Try with following:
      TextEdit {
      id: textEdit
      cursorDelegate: Rectangle

      {width: 2; color: "black"; visible: parent.activeFocus}

      mouseSelectionMode: TextInput.SelectWords
      }

      mouseSelectionMode binding is optional.

      See test QML file: Test.qml

        1. Test.qml
          0.6 kB
          Sauli Kauppi
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            sakauppi Sauli Kauppi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes