AnthonyVillacorta / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Add Serial1-3 to keywords file #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open IDE
2. Enter a line such as "Serial1.begin(38400);"

What is the expected output? What do you see instead?
The string "Serial1" is not syntax highlighted.

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
Happens on any.

Please provide any additional information below.

This is such a trivial thing that it's embarrassing to ask for it, but this
would have to be applied by someone with commit privs. Patch to
build/share/lib/keywords.txt against SVN HEAD:

--- build/shared/lib/keywords.txt   (revision 723)
+++ build/shared/lib/keywords.txt   (working copy)
@@ -157,6 +157,9 @@

 Serial  KEYWORD3
 Serial KEYWORD2
+Serial1    KEYWORD2
+Serial2    KEYWORD2
+Serial3    KEYWORD2
 begin  KEYWORD2    Serial_Begin
 read   KEYWORD2    Serial_Read
 print  KEYWORD2    Serial_Print
@@ -165,4 +168,4 @@
 flush  KEYWORD2    Serial_Flush

 setup  KEYWORD3    Setup
-loop   KEYWORD3    Loop
\ No newline at end of file
+loop   KEYWORD3    Loop

Original issue reported on code.google.com by jono...@gmail.com on 26 Jul 2009 at 10:26

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 15 Aug 2009 at 8:48

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 18 Dec 2009 at 4:26