This fork is no longer maintained. Development continues here:
https://github.com/diegoiast/qutepart-cpp
Written in pure C++/Qt5. No any dependencies.
Component has been created for Enki editor
Currently there are no API documentation, but the header is quite clear. See also example application.
All features are configurable
- Syntax highlighting for 196 languages
- Smart indentation algorithms:
- Generic
- Python
- Ruby
- XML
- Lisp
- Scheme
- C, C++
- JavaScript
- Java
- PHP
- Go
- And many others
- Line numbers
- Bracket highlighting
- Visible witespaces
- Marker for too long lines
- Bookmarks
- Current line highlighting
- Advanced edit operations:
- Delete selection or line
- Duplicate selection or line
- Move selected lines up or down
- Copy-paste current or selected lines
- C++ compiler
- CMake or qmake
- Qt5 headers
CMake and qmake is supported. CMake is recommented.
mkdir build
cd build
cmake ..
make
make install # might require sudo
To build the docs see docs
Online documetation is available here
Andrei Kopats
Kate and Katepart (an editor component) is really cool software. The Kate authors and community have created, probably, the biggest set of highlighters and indenters for programming languages.
- Qutepart uses Kate syntax highlighters (XML files)
- Qutepart contains a port from Javascript to C++ of Kate indenters
- Qutepart doesn't contain Katepart code.
Nothing is wrong with Katepart. Qutepart has been created to enable reusing highlighters and indenters in projects where a KDE dependency is not acceptable.
LGPL v2
I don't mind if you use the code under WTFPL license. But consult you layers if I have right to release it this way.