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

Search results not highlighted in code not recognized by code model

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 9.0.2
    • Qt Creator 9.0.1
    • Editors
    • None
    • Kubuntu 22.04
    • Linux/X11
    • 91b527427 (9.0)

    Description

      Search results in C++ code are not highlighted when code is not recognized by the code model (e.g. when the searched word is in a function name that is not found by the code model).

      In the attached screenshot, the word "broadcast" is being searched. It is highlighted in the two function names in the upper part of the screenshot and not highlighted in the four function names in the bottom. The latter function names are not found by the code model (these functions are conditionally defined depending on preprocessor macros).

      Attachments

        1. Screenshot_20221231_181646.png
          339 kB
          Andrey Semashev
        2. qtcreator_wrong_highlighting.tar.xz
          0.9 kB
          Andrey Semashev
        3. lastique_light.xml
          5 kB
          Andrey Semashev
        For Gerrit Dashboard: QTCREATORBUG-28639
        # Subject Branch Project Status CR V

        Activity

          People

            davschul David Schulz
            lastique Andrey Semashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes