class KSyntaxHighlighter

#### PyKDE - Python Bindings for KDE

# class KSyntaxHighlighter |
Table of contents
Modules
tdespell Classes
All Classes

Module | tdespell
Class | KSyntaxHighlighter
Inherits | TQSyntaxHighlighter

### enums

- SyntaxMode = {PlainTextMode, RichTextMode }

### methods

- KSyntaxHighlighter (textEdit, colorQuoting = 0, QuoteColor0 = TQt .black, QuoteColor1 = TQColor (0x00 ,0x80 ,0x00 ), QuoteColor2 = TQColor (0x00 ,0x80 ,0x00 ), QuoteColor3 = TQColor (0x00 ,0x80 ,0x00 ), mode = PlainTextMode)

  returns a KSyntaxHighlighter instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  textEdit | TQTextEdit |
  colorQuoting | bool | 0
  QuoteColor0 | TQColor | TQt .black
  QuoteColor1 | TQColor | TQColor (0x00 ,0x80 ,0x00 )
  QuoteColor2 | TQColor | TQColor (0x00 ,0x80 ,0x00 )
  QuoteColor3 | TQColor | TQColor (0x00 ,0x80 ,0x00 )
  mode | KSyntaxHighlighter.SyntaxMode | PlainTextMode

- highlightParagraph (text, endStateOfLastPara)

  returns (int)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  endStateOfLastPara | int |