QextScintillaLexerDiff Class Reference

The QextScintillaLexerDiff class encapsulates the Scintilla Diff lexer. More...

#include <qextscintillalexerdiff.h>

Inherits QextScintillaLexer.

List of all members.

Public Types

Public Member Functions


Detailed Description

The QextScintillaLexerDiff class encapsulates the Scintilla Diff lexer.


Member Enumeration Documentation

anonymous enum

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

Enumerator:
Default  The default.
Comment  A comment.
Command  A command.
Header  A header.
Position  A position.
LineRemoved  A removed line.
LineAdded  An added line.


Constructor & Destructor Documentation

QextScintillaLexerDiff::QextScintillaLexerDiff ( TQObject *  parent = 0,
const char *  name = 0 
)

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

virtual QextScintillaLexerDiff::~QextScintillaLexerDiff (  )  [virtual]

Destroys the QextScintillaLexerDiff instance.


Member Function Documentation

const char* QextScintillaLexerDiff::language (  )  const [virtual]

Returns the name of the language.

Implements QextScintillaLexer.

const char* QextScintillaLexerDiff::lexer (  )  const [virtual]

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

Implements QextScintillaLexer.

TQColor QextScintillaLexerDiff::color ( int  style  )  const [virtual]

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

See also:
paper()

Reimplemented from QextScintillaLexer.

TQString QextScintillaLexerDiff::description ( int  style  )  const [virtual]

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

Implements QextScintillaLexer.


Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7