Details
-
Task
-
Resolution: Done
-
P4: Low
-
Qt Creator 4.3.1
-
None
-
Environment: Qt Creator 4.3.1 downloaded from official site on Ubuntu 16.04.3 x86_64.
Description
The following code:
#define COMPORT_NAME R"(\\.\COM1)" #elif defined(Q_OS_LINUX) #define COMPORT_NAME "/dev/ttyS0" #else #error "OS is not yet supported" #endif
gives wrong syntax highlighting until some point, where it is became recovered to the correct state.
The context and a portion of the following text incorrectly highlighted are attached.