Pages: [1]   Go Down
Author Topic: 1.0.5 IDE bug (comments with '{' type brackets)  (Read 2060 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 97
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've noticed this is previous versions but now still with 1.0.5, when comments have a '{' type of bracket in them, the IDE still includes the bracket in its helpful highlighting of bracket pairs. For example, see the attached pic. My cursor is positioned on the last '}' and the IDE thinks it's matching pair is at the end of the commented out while line.


* Capture.JPG (11.68 KB, 255x81 - viewed 25 times.)
Logged

Leeds, UK
Offline Offline
Edison Member
*
Karma: 78
Posts: 1719
Once the magic blue smoke is released, it won't go back in!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The way I deal with this is to simply add:

Code:
//}

at the end of the commented line. A bit of a hack I know, but it works.
Logged

~Tom~

Pages: [1]   Go Up
Jump to: