#### PyKDE - Python Bindings for KDE

# class KSpell2.Highlighter |
Table of contents
Modules
kspell2 Classes
All Classes

Module | kspell2
Class | KSpell2.Highlighter
Inherits | QSyntaxHighlighter

### methods

- Highlighter (textEdit, configFile = QString .null, filter = Filter .defaultFilter ())

  returns a Highlighter instance
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  textEdit | QTextEdit |
  configFile | QString | QString .null
  filter | KSpell2.Filter | Filter .defaultFilter ()

- currentFilter ()

  returns (KSpell2.Filter)
  In versions KDE 3.3.0 and above only

- currentLanguage ()

  returns (QString)
  In versions KDE 3.3.0 and above only

- highlightParagraph (text, endStateOfLastPara)

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

- setCurrentFilter (filter)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  filter | KSpell2.Filter |

- setCurrentLanguage (lang)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  lang | QString |

- setMisspelled (start, count)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  start | int |
  count | int |

- unsetMisspelled (start, count)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  start | int |
  count | int |