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

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

XMLWordPrintable

    • 4e8b7eee9ddf2feb8f7ced24bb9425539059e698

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes