ADDITION: Here I will post all the colorer glitches I've found so far
Hello.
Recently noticed that syntax coloring in Arduino IDE breaks upon certain conditions and looks like this:
Encircled is the code which causes the colorer to go mad.
Full code, which reproduces the problem (but can not be compiled) is attached below.
If 'b' - 'a' is replaced with a number, then colorer works as intended
Update:
Adding ]]" fixes things back.
More glitches on adding a new line:
These changes are caused by simply moving a function name on a new line
(left: everything is ok, right: not really)
More glitches: coloring is disabled for a variable sized arrays:
Pic on the left shows no coloring, pic on the right is how it should look like.
If there is nothing in square brackets, then coloring is off.
If there is something (even just 1 space) then colorer works correctly.
Meet another one.
Note the color of a keyword "define"
PS: It doesn't depend on #if statement, so there are two screenshots
Full source file which shows the bug:
espshell.h (10,7 КБ)
system
Closed
7
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.