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

[objc] syntax highlighting breaks after objective-c method calls

XMLWordPrintable

    • macOS
    • faecd8d44 (18.0)

      when working on objective-c files, the syntax highlighter easily break. this tends to happen after objective-c method calls.

      check qcore_foundation.mm in qtbase:

      method and variable names are yellow, while according to the color scheme they should not.

      observation: it seems to be triggered by the `[[` sequence. if this sequence is broken up, e.g like:

          return [/* */ [/* */ [NSUUID alloc] initWithUUIDBytes:u] autorelease];
      

      subsequent highlighting looks good (after closing/reopening the source file)

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

            kandeler Christian Kandeler
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes