Define what kind of lexer language will be used to highlight the code.
// GtkScintillaLexer @define( "SCINTILLA_LEXER_CONTAINER" , 0 ); @define( "SCINTILLA_LEXER_NULL" , 1 ); @define( "SCINTILLA_LEXER_PYTHON" , 2 ); @define( "SCINTILLA_LEXER_CPP" , 3 ); @define( "SCINTILLA_LEXER_HTML" , 4 ); @define( "SCINTILLA_LEXER_XML" , 5 ); @define( "SCINTILLA_LEXER_PERL" , 6 ); @define( "SCINTILLA_LEXER_SQL" , 7 ); @define( "SCINTILLA_LEXER_VB" , 8 ); @define( "SCINTILLA_LEXER_PROPERTIES" , 9 ); @define( "SCINTILLA_LEXER_ERRORLIST" , 10 ); @define( "SCINTILLA_LEXER_MAKEFILE" , 11 ); @define( "SCINTILLA_LEXER_BATCH" , 12 ); @define( "SCINTILLA_LEXER_XCODE" , 13 ); @define( "SCINTILLA_LEXER_LATEX" , 14 ); @define( "SCINTILLA_LEXER_LUA" , 15 ); @define( "SCINTILLA_LEXER_DIFF" , 16 ); @define( "SCINTILLA_LEXER_CONF" , 17 ); @define( "SCINTILLA_LEXER_PASCAL" , 18 ); @define( "SCINTILLA_LEXER_AVE" , 19 ); @define( "SCINTILLA_LEXER_ADA" , 20 ); $scintilla->set_lexer(SCINTILLA_LEXER_HTML); |