-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Description
Description
The multiline comments inside code fences of cpp
or c
languages are not parsed correctly. Specifically the first line of such comments is correctly greyed out but subsequent lines are colorized like normal code.
Steps to reproduce
Insert the following text in a blank document:
```cpp
/* return
* return
*/
```
return
Expected behavior:
The words return
in lines 2 and 3 should be grey (comment color) and the return
in the last line should be cyan (the keyword color).
Actual behavior:
The return
in the second line is colorized like the return
in the last line, i.e. it is parsed as normal C++ code.
Versions
- Mark Text: 0.15.0 (installed from Flathub)
- Operating system: Clear Linux 30820