QScintilla  2.7.1
Public Types | Public Member Functions
QsciLexerDiff Class Reference

#include <qscilexerdiff.h>

Inherits QsciLexer.

List of all members.

Public Types

Public Member Functions


Detailed Description

The QsciLexerDiff 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.

LineChanged 

A changed line.


Constructor & Destructor Documentation

QsciLexerDiff::QsciLexerDiff ( QObject *  parent = 0)

Construct a QsciLexerDiff with parent parent. parent is typically the QsciScintilla instance.


Member Function Documentation

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

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

Reimplemented from QsciLexer.

QString QsciLexerDiff::description ( int  style) const [virtual]

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

Implements QsciLexer.