About KatePart

KatePart is a fast and featurerich text editor component with many advanced features. It implements the KTextEditor interfaces, a common interface collection for text editor components in KDE, allowing it to be selected as the editor in applications that lets the user chose from different implementations, as well as it can use KTextEditor plug-ins.

KatePart is originally based on code from the KDE 1 richtext editor widget, but has been allmost completely rewritten during the years. It is the default text editor widget in Kate and KWrite and also the default to display text in Konqueror. A lot of other applications use it as text editing component, too, like KDevelop

Features include

  • Syntax highlight for more than 120 text formats, including popular programming languages like C/C++, Java, Ruby etc as well as markup such as HTML and XML.
  • Code completion interface that allows applications to provide text completion through plug-ins.
  • Code folding lets users hide parts of the text. Code folding can be defined by the syntax highlight file.
  • Automatic indentation for various formats.
  • Scriptable using JavaScript or DCOP.
  • Advanced comment handling.
  • Color scheme support including syntax color schemes.
  • Dynamic word wrap.
  • Bookmarks for easy navigation in the text.
  • Other mark types available for applications for example for breadpoints or similar.
  • Support for UNIX, Windows and Mac EOL style
  • Advanced automatic bracket completion.
  • Marks, line numbers and folding regions display in margin.
  • Built-in command line which can be extended by plugins.
  • Configurable pr document by variables embedded in the document text.
  • Configurable pr mimetype or mimetype group by user defined file types.
  • Configurable shortcut scheme for the editor widget.
  • Spell checking of full or partial content.
  • Encoding support.
  • Encoding conversion.
  • Plug-in support through KTextEditor.
  • Export of highlighted text to HTML.
  • Printing with support for syntax highlighting, line numbers and configurable header/footer.

Licensing

KatePart is developed under a OpenSource license to keep it available to the public and usable for other OpenSource projects.

It is part of the kdelibs maintained by the KDE Project since KDE 3.0 and is released under the GNU Lesser General Public License (LGPL) Version 2