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

Qtextedit should provide an API for retrieving an anchor text position

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: GUI: Text handling
    • Labels:
      None

      Description

      QTextEdit provides the scrollToAnchor() method to make an anchor visible. As far as I can see, there is no way to retrieve the text segment covered by the anchor, or to set the selection to the anchor contents if any. This would be useful to, for example, highlight the anchor position after scrolling.

        Attachments

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

          Activity

            People

            Assignee:
            esabraha Eskil Abrahamsen Blomfeldt
            Reporter:
            medoc92 medoc92
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes