Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

Config::Lexer Class Reference

#include <lexer.h>

List of all members.

Public Methods

 Lexer (int scintillaID, char *name)
void setFileExt (const char **)
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 setLangName (const char *name)
const char * langName ()
void setStreamComment (QString start, QString end)
void setBlockComment (QString start)
QString streamCommentStart ()
QString streamCommentEnd ()
QString blockCommentStart ()


Detailed Description

wraps a scintilla lexer which can be configured via python


Constructor & Destructor Documentation

Config::Lexer::Lexer int    scintillaID,
char *    name
 

creates lexer wrapper which scintilla lexer has the given scintilla lexer ID and name


Member Function Documentation

void Config::Lexer::addKeywords const char *    keyWordList
 

add keywords

void Config::Lexer::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
 

add new property to python interface of lexer and sets default values

QString Config::Lexer::blockCommentStart  
 

retrieves block comment start token

void Config::Lexer::initScintilla QextScintilla *    sc
 

initializes given scintilla's lexer

const char* Config::Lexer::langName   [inline]
 

returns name of language

void Config::Lexer::setBlockComment QString    start
 

set block comment start token

void Config::Lexer::setFileExt const char **   
 

set file extension for which the lexer should be used

void Config::Lexer::setLangName const char *    name [inline]
 

sets name of lexed language

void Config::Lexer::setStreamComment QString    start,
QString    end
 

set stream comment start end end token

QString Config::Lexer::streamCommentEnd  
 

retrieves stream comment end token

QString Config::Lexer::streamCommentStart  
 

retrieves stream comment start token


The documentation for this class was generated from the following file:
Generated on Wed Sep 10 03:46:24 2003 by doxygen1.2.18