KTextEditor
Full text editor component
Introduction
KTextEditor provides a powerful text editor component that you can embed in your application, either as a KPart or using the KF6::TextEditor library (if you need more control).
The text editor component contains many useful features, from syntax highlighting and automatic indentation to advanced scripting support, making it suitable for everything from a simple embedded text-file editor to an advanced IDE.
Usage
If you are using CMake, you need to have
(or similar) in your CMakeLists.txt file, and you need to link to KF6::TextEditor.
After that, you can use KTextEditor::Editor to create an editor instance, and use that to manage KTextEditor::Document instances.
See the documentation for these classes for more information.
Licensing
Contributions to KTextEditor shall be licensed under LGPLv2+.
All files shall contain a proper "SPDX-License-Identifier: LGPL-2.0-or-later" identifier inside a header like:
Further Documentation
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.