Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25237

Search with regular expression works better than highlighting

    XMLWordPrintable

    Details

      Description

      How to reproduce:

      My case is: find all "text", replace with QLatin1String("text")

      Using regular expression, but not case sensitive or whole word only.

      Reg exp: \"([^\"]*)\" replace with QLatin1String("\1")

      Result: search/replace works well, but if there is several results in the same line, highlighting is different, it highlights one part from the first double quote to the last. Fixed when checking "whole word only".

       

      So we have a case where the search is different from the highlight.

        Attachments

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

          Activity

            People

            Assignee:
            davschul David Schulz
            Reporter:
            jicey Jean-Christophe Frachet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes