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

QTextDocument::FindWholeWords does not work as expected

    XMLWordPrintable

Details

    Description

      QTextDocument::find() and other find functions do not correctly handle words with underscores.

      Example: Qt Assistant, qmake Variable Reference - on this page there are multiple words with underscores such as QMAKE_CC and QMAKE_CFLAGS_DEBUG. If ones searches for QMAKE in "Whole words" mode, one is not interested in those word combinations with underscores but the find functions hit them all. That is not the standard behavior. See find feature in Eclipse, for example.

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            admin Administrator
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes