QCodeEdit is a source code editing framework written in C++/Qt4. It provide basic widgets and advanced syntax-related features that make it extremely easy to setup a proper source code editor for any language and embed it in a larger GUI application.
It is dual licensed : GPL for free and BSD (or similar permissive licenses) for a reasonable fee.
QCodeEdit 3 "canonical" repository.
Development discussion