• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDE3Support

K3SyntaxHighlighter Class Reference

Syntax sensitive text highlighter. More...

#include <k3syntaxhighlighter.h>

Inheritance diagram for K3SyntaxHighlighter:

Inheritance graph
[legend]

List of all members.


Public Types

enum  SyntaxMode { PlainTextMode, RichTextMode }

Public Member Functions

int highlightParagraph (const QString &text, int endStateOfLastPara)
 K3SyntaxHighlighter (Q3TextEdit *textEdit, bool colorQuoting=false, const QColor &QuoteColor0=Qt::black, const QColor &QuoteColor1=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor2=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor3=QColor(0x00, 0x80, 0x00), SyntaxMode mode=PlainTextMode)
 ~K3SyntaxHighlighter ()

Detailed Description

Syntax sensitive text highlighter.

Definition at line 40 of file k3syntaxhighlighter.h.


Member Enumeration Documentation

enum K3SyntaxHighlighter::SyntaxMode

Enumerator:
PlainTextMode 
RichTextMode 

Definition at line 43 of file k3syntaxhighlighter.h.


Constructor & Destructor Documentation

K3SyntaxHighlighter::K3SyntaxHighlighter ( Q3TextEdit *  textEdit,
bool  colorQuoting = false,
const QColor &  QuoteColor0 = Qt::black,
const QColor &  QuoteColor1 = QColor( 0x00, 0x80, 0x00 ),
const QColor &  QuoteColor2 = QColor( 0x00, 0x80, 0x00 ),
const QColor &  QuoteColor3 = QColor( 0x00, 0x80, 0x00 ),
SyntaxMode  mode = PlainTextMode 
)

Definition at line 120 of file k3syntaxhighlighter.cpp.

K3SyntaxHighlighter::~K3SyntaxHighlighter (  ) 

Definition at line 140 of file k3syntaxhighlighter.cpp.


Member Function Documentation

int K3SyntaxHighlighter::highlightParagraph ( const QString &  text,
int  endStateOfLastPara 
)

Reimplemented from Q3SyntaxHighlighter.

Reimplemented in K3SpellingHighlighter.

Definition at line 145 of file k3syntaxhighlighter.cpp.


The documentation for this class was generated from the following files:
  • k3syntaxhighlighter.h
  • k3syntaxhighlighter.cpp

KDE3Support

Skip menu "KDE3Support"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal