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

Wrong parsing / rendering for operator<=> (in Dark themes)

    XMLWordPrintable

Details

    • 4e8b7eee9ddf2feb8f7ced24bb9425539059e698

    Description

      A three-way (spaceship) operator in a C++20 project does not seem to get lexed properly by Qt Creator.

      This causes operator<=> to be misrendered when using JetBrains Mono:

       

      This only seems to happen when using a Dark theme.

      I suspect the lexer is somehow splitting the parsing of the operator and yielding two slightly different char formats for the editor, which block the ligature from kicking in.

      Attachments

        Activity

          People

            davschul David Schulz
            peppe Giuseppe D'Angelo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: