KatePart is a fast and feature-rich 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, and it can use KTextEditor plug-ins.
KatePart is originally based on code from the KDE 1 richtext editor widget, but has been almost completely rewritten over 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.
- Syntax highlighting for more than 180 text formats, including popular programming languages like C/C++, Java, Ruby as well as markup such as HTML and XML.
- Code completion interface that allows applications to provide text completion through plugins.
- Code folding lets users hide parts of the text. Code folding can be defined by the syntax highlighting file.
- Automatic indentation for various formats.
- 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 styles.
- Advanced automatic bracket completion.
- Marks, line numbers and folding regions display in margin.
- Built-in command line, which can be extended by plugins.
- Configurable per document by variables (modelines) embedded in the document text.
- Configurable per mimetype or mimetype group by user defined file modes.
- 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.
KatePart is developed under a Open Source license to keep it available to the public and usable for other Open Source 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.