├── examples ├── ThemeTest │ ├── tab2.ino │ └── ThemeTest.ino └── SerialPlotter │ └── SerialPlotter.ino ├── screenshot.png ├── ThemeTest.h ├── .github ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md └── CONTRIBUTING.md ├── library.properties ├── keywords.txt ├── LICENSE ├── .travis.yml └── README.md /examples/ThemeTest/tab2.ino: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/per1234/ThemeTest/HEAD/screenshot.png -------------------------------------------------------------------------------- /ThemeTest.h: -------------------------------------------------------------------------------- 1 | //this is a dummy file required to make the keywords in the keywords.txt file be highlighted by the Arduino IDE 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Please read the Issues section of the Contributing Rules at the "contributing" link to the right before submitting an issue report. 2 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Please read the Pull Requests section of the Contributing Rules at the "contributing" link to the right before submitting an issue report. 2 | -------------------------------------------------------------------------------- /library.properties: -------------------------------------------------------------------------------- 1 | name=ThemeTest 2 | version=1.0.0 3 | author=per1234 4 | maintainer=per1234 5 | sentence=Library for testing Arduino IDE themes. 6 | paragraph= 7 | category=Other 8 | url=https://github.com/per1234/ThemeTest 9 | architectures=* 10 | -------------------------------------------------------------------------------- /examples/SerialPlotter/SerialPlotter.ino: -------------------------------------------------------------------------------- 1 | // Used to test the GUI - PLOTTING section of theme.txt 2 | 3 | void setup() { 4 | Serial.begin(9600); 5 | } 6 | 7 | void loop() { 8 | Serial.print(0); //plotting.graphcolor.00 9 | Serial.print(','); 10 | Serial.print(1); //plotting.graphcolor.01 11 | Serial.print(','); 12 | Serial.print(2); //plotting.graphcolor.02 13 | Serial.print(','); 14 | Serial.println(3); //plotting.graphcolor.03 15 | } 16 | -------------------------------------------------------------------------------- /keywords.txt: -------------------------------------------------------------------------------- 1 | # the purpose of this file is to allow the keyword coloration of all keywords to be easily checked 2 | # for documentation of the keywords.txt format, see: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywordstxt-format 3 | 4 | # KEYWORD_TOKENTYPE 5 | keywordKEYWORD1 KEYWORD1 6 | keywordKEYWORD2 KEYWORD2 7 | keywordKEYWORD3 KEYWORD3 8 | keywordLITERAL1 LITERAL1 9 | keywordLITERAL2 LITERAL2 10 | 11 | # RSYNTAXTEXTAREA_TOKENTYPE 12 | # I have put three tabs between the KEYWORD and RSYNTAXTEXTAREA_TOKENTYPE fields. This means the KEYWORD_TOKENTYPE and REFERENCE_LINK fields have been left empty (which is permitted), since defining those fields would only confuse matters. 13 | keywordRESERVED_WORD RESERVED_WORD 14 | keywordRESERVED_WORD_2 RESERVED_WORD_2 15 | keywordDATA_TYPE DATA_TYPE 16 | keywordPREPROCESSOR PREPROCESSOR 17 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 per1234 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /examples/ThemeTest/ThemeTest.ino: -------------------------------------------------------------------------------- 1 | keywordKEYWORD1 //editor.data_type.style 2 | keywordKEYWORD2 //editor.function.style 3 | keywordKEYWORD3 //editor.function.style 4 | 5 | keywordLITERAL1 //editor.reserved_word_2.style 6 | keywordLITERAL2 //editor.function.style 7 | 8 | keywordRESERVED_WORD //editor.reserved_word.style 9 | keywordRESERVED_WORD_2 //editor.reserved_word_2.style 10 | keywordDATA_TYPE //editor.data_type.style 11 | keywordPREPROCESSOR //editor.preprocessor.style 12 | 13 | true //editor.literal_boolean.style 14 | "editor.literal_string_double_quote.style" 15 | #error //editor.preprocessor.style 16 | + //editor.operator.style 17 | 18 | //editor.comment1.style 19 | /*editor.comment2.style*/ 20 | editor.fgcolor 21 | {} //default.xml