#include <lexer.h>
Public Member Functions | |
Lexer (int scintillaID, char *name) | |
void | initScintilla (QextScintilla *sc) |
void | addProperty (std::string name, int scintillaID, int fore, char *font=0, int size=0, bool bold=false, bool italic=false, bool underline=false, int back=0, bool filleol=false) |
void | addKeywords (const char *keyWordList) |
void | setFileExtensions (QString fileExt) |
void | setLangName (const char *name) |
const char * | langName () |
void | setStreamComment (QString start, QString end) |
void | setBlockComment (QString start) |
QString | streamCommentStart () |
QString | streamCommentEnd () |
QString | blockCommentStart () |
Friends | |
class | LexerManager |
|
creates lexer wrapper which scintilla lexer has the given scintilla lexer ID and name |
|
add keywords |
|
add new property to python interface of lexer and sets default values |
|
retrieves block comment start token |
|
initializes given scintilla's lexer |
|
returns name of language |
|
set block comment start token |
|
set file extension for which the lexer should be used, separated by blanks |
|
sets name of lexed language |
|
set stream comment start end end token |
|
retrieves stream comment end token |
|
retrieves stream comment start token |