#### PyKDE - Python Bindings for KDE

# class KSpellingHighlighter

Table of contents
Modules
kspell Classes
All Classes

Module | kspell
Class | KSpellingHighlighter (abstract)
Inherits | KSyntaxHighlighter

### methods

- KSpellingHighlighter (textEdit, spellColor = Qt .red, colorQuoting = 0, QuoteColor0 = Qt .black, QuoteColor1 = QColor (0x00 ,0x80 ,0x00 ), QuoteColor2 = QColor (0x00 ,0x80 ,0x00 ), QuoteColor3 = QColor (0x00 ,0x80 ,0x00 ))

  returns a KSpellingHighlighter instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  textEdit | QTextEdit |
  spellColor | QColor | Qt .red
  colorQuoting | bool | 0
  QuoteColor0 | QColor | Qt .black
  QuoteColor1 | QColor | QColor (0x00 ,0x80 ,0x00 )
  QuoteColor2 | QColor | QColor (0x00 ,0x80 ,0x00 )
  QuoteColor3 | QColor | QColor (0x00 ,0x80 ,0x00 )

- highlightParagraph (text, endStateOfLastPara)

  returns (int)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  text | QString |
  endStateOfLastPara | int |

- intraWordEditing ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- isMisspelled (word) = 0

  returns (bool)
  In versions KDE 3.2.0 and above only
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  word | QString |

- personalWords ()

  returns (QStringList)
  In versions KDE 3.2.0 and above only
  static

- setIntraWordEditing (editing)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  editing | bool |