TQextScintillaLexerDiff Class Reference

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

#include <tqextscintillalexerdiff.h>

Inherits TQextScintillaLexer.

List of all members.

Public Types

Public Member Functions


Detailed Description

The TQextScintillaLexerDiff 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

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

Construct a TQextScintillaLexerDiff with parent parent and name name. parent is typically the TQextScintilla instance.

virtual TQextScintillaLexerDiff::~TQextScintillaLexerDiff (  )  [virtual]

Destroys the TQextScintillaLexerDiff instance.


Member Function Documentation

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

Returns the name of the language.

Implements TQextScintillaLexer.

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

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

Implements TQextScintillaLexer.

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

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

See also:
paper()

Reimplemented from TQextScintillaLexer.

TQString TQextScintillaLexerDiff::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 TQextScintillaLexer.


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