KTextEditor Installation Instructions
Download
git clone git://anongit.kde.org/ktexteditor.git
Usage
CMake:
find_package(KF5TextEditor) target_link_libraries(yourapp KF5::TextEditor)
QMake:
QT += KTextEditor
Browse Source
KTextEditor on cgit.kde.org