Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-19608 Better Text introspection in QML
  3. QTBUG-18949

Hard to determine is all text selected with TextEdit on richtext mode

    XMLWordPrintable

Details

    Description

      Plain text content

      TextEdit {
          property bool allTextSelected: selectedText && selectedText.length < text.length
          text: "1234"
      }
      

      with rich-text text.length returns length + rich text tags. SelectedText is in plain text format and never reaches text.lenght

      Attachments

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

        Activity

          People

            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            samuelnevala Samuel Nevala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes