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

Text Handling in QTextEdit behaves differently than other text editors

    XMLWordPrintable

Details

    Description

      Did: Double click to the right of the centre of a word and drag past
      the beginning of the next word but not as far as the centre of the
      next word.

      Expected to see: I expected two words to be selected, because the
      double click selection drag region overlaps a part of two words. This
      is how most text editors / platforms and web browsers work.

      Got instead: Only the first word was selected. The second word is not
      selected until the mouse is dragged past its MIDDLE. I would not
      expect there be different rules associated with the start end point of
      the double click drag region and the current end-point.

      I would like to see an option added to the QTextEdit class which makes it behave in the same way as other text editors e.g. notepad in Windows.

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            cattell Matthew Cattell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes