Main Page | Class Hierarchy | Class List | Class Members

QextScintillaLexerSQL Class Reference

The QextScintillaLexerSQL class encapsulates the Scintilla SQL lexer. More...

#include <qextscintillalexersql.h>

Inherits QextScintillaLexer.

List of all members.

Public Types

Public Member Functions


Detailed Description

The QextScintillaLexerSQL class encapsulates the Scintilla SQL lexer.


Member Enumeration Documentation

anonymous enum
 

This enum defines the meanings of the different styles used by the SQL lexer.

Enumeration values:
Default  The default.
Comment  A comment.
LineComment  A line comment.
Number  A number.
Keyword  A keyword.
SingleQuotedString  A single-quoted string.
Operator  An operator.
Identifier  An identifier.


Constructor & Destructor Documentation

QextScintillaLexerSQL::QextScintillaLexerSQL QObject *  parent = 0,
const char *  name = 0
 

Construct a QextScintillaLexerSQL with parent parent and name name. parent is typically the QextScintilla instance.

virtual QextScintillaLexerSQL::~QextScintillaLexerSQL  )  [virtual]
 

Destroys the QextScintillaLexerSQL instance.


Member Function Documentation

const char* QextScintillaLexerSQL::language  )  const [virtual]
 

Returns the name of the language.

Implements QextScintillaLexer.

const char* QextScintillaLexerSQL::lexer  )  const [virtual]
 

Returns the name of the lexer. Some lexers support a number of languages.

Implements QextScintillaLexer.

int QextScintillaLexerSQL::braceStyle  )  const [virtual]
 

Returns the style used for braces for brace matching.

Reimplemented from QextScintillaLexer.

QColor QextScintillaLexerSQL::color int  style  )  const [virtual]
 

Returns the foreground colour of the text for style number style.

See also:
paper()

Reimplemented from QextScintillaLexer.

QFont QextScintillaLexerSQL::font int  style  )  const [virtual]
 

Returns the font for style number style.

Reimplemented from QextScintillaLexer.

const char* QextScintillaLexerSQL::keywords int  set  )  const [virtual]
 

Returns the set of keywords for the keyword set recognised by the lexer as a space separated string.

Reimplemented from QextScintillaLexer.

QString QextScintillaLexerSQL::description int  style  )  const [virtual]
 

Returns the descriptive name for style number style. If the style is invalid for this language then QString::null is returned. This is intended to be used in user preference dialogs.

Implements QextScintillaLexer.


Generated on Sun Mar 6 10:30:09 2005 for QScintilla by doxygen 1.3.8