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

Quote in comment in raw string literal breaks coloration

    XMLWordPrintable

Details

    • baf25e4cdb

    Description

      Repro is as follows :

      #include <QByteArray>
      
      int main(int argc, char** argv)
      {
        QByteArray code = R"___(import QtQuick 2.0
      import Ossia 1.0 as Ossia
      
      Ossia.Serial
      {
        function onMessage(message) { // evaluated each time a message is received
          var tabSplited = message.split('\t'); // split at the "tab" to seperate sensor and output strings
          var sensorSplited = tabSplited[0].split("= "); // split again both strings to extract the integer values
          return [ ];
        }
      })___";
      
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              jcelerier Jean-Michaël Celerier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes