syntax.h (343B)
1 #ifndef SYNTAX_HEADER 2 #define SYNTAX_HEADER 3 4 #include"jim.h" 5 6 enum editorHighlight { 7 HL_NORMAL = 0, 8 HL_COMMENT, 9 HL_MLCOMMENT, 10 HL_DIRECTIVE, 11 HL_KEYWORD, 12 HL_DATATYPE, 13 HL_STRING, 14 HL_NUMBER, 15 HL_MATCH 16 }; 17 18 void editorUpdateSyntax(erow*); 19 int editorSyntaxToColour(int); 20 void editorSelectSyntaxHighlight(); 21 22 #endif