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

CppTools: macro usages have inconsistent locations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 4.7.0-beta1
    • Qt Creator 4.5.1, Qt Creator 4.6.0-rc1
    • C/C++/Obj-C++ Support
    • None
    • Linux

      Steps to reproduce:

      • open the attached project
      • open the file foo.h
      • place cursor on the macro and trigger find usages
      • check the highlighting of the macro inside the search results
      • open main.cpp
      • switch back to foo.h and trigger the find usage again

       

      I'd expect the macroUsages to be correct no matter whether I've got a document that has a working copy or not [files are Windows formatted

      \r\n

      and the working copy uses only

      \n

      ]

        For Gerrit Dashboard: QTCREATORBUG-19905
        # Subject Branch Project Status CR V

            yvvan Ivan Donchevskii
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes