Syntax highlighting bug

13 Sep 2009

Pretty tiny bug but thought I should mention it anyway, the syntax highlighter currently highlights keywords embedded in other words if they're proceeded by a capital letter, e.g.

Pint (highlights "int")

atthEdouble (highlights "double")

etc.

 

Cheers,

Mike.

13 Sep 2009

Mike Sheldon wrote:

Pretty tiny bug but thought I should mention it anyway, the syntax highlighter currently highlights keywords embedded in other words if they're proceeded by a capital letter, e.g.

Pint (highlights "int")

How strange! In the 3 years we've been running this compiler IDE, i've never spotted that :) Thanks!

Will fix. In return for that report, i'll be posting some new Display good-ness on monday to make your tiefighter more portable as requested by Eric in http://mbed.org/forum/topic/75/?page=1#comment-338.

Simon

16 Sep 2009 . Edited: 16 Sep 2009

Another bug along similar lines primitives don't get highlighted in the code:  "sizeof(float)"

However "(float)", "sizeof (float)" and "sizeof( float )" will highlight.

30 Nov 2009

Typing in type name followed imediately (no spaces) by a word starting with an uppercase letter (e.g. "shortGap") shows the typename part highlighted too.  Probably want the type name detection to look for non-alphanumeric characters at each end of the match?

Regards,

Bhaveet