kossebau created this revision. Restricted Application added projects: Kate, Frameworks. Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY The AbstractAnnotationItemDelegate is modelled after QAbstractItemDelegate and should allow consumers of the annotation interfaces to customize the rendering, the context menu and the tooltip per annotation as wanted. Yet to be solved: - whether, and if how, to adapt to zoomed content - which UI font to recommend if not wanting to use content font - tooltip hiding API (and perhaps support for async shown tooltips) and some other TODOs spread over the patch Done together with some new patches for KDevelop. REPOSITORY R39 KTextEditor BRANCH addAnnotationItemDelegate REVISION DETAIL https://phabricator.kde.org/D8708 AFFECTED FILES src/CMakeLists.txt src/include/CMakeLists.txt src/include/ktexteditor/abstractannotationitemdelegate.h src/include/ktexteditor/annotationinterface.h src/view/kateannotationitemdelegate.cpp src/view/kateannotationitemdelegate.h src/view/kateview.cpp src/view/kateview.h src/view/kateviewhelpers.cpp src/view/kateviewhelpers.h src/view/kateviewinternal.h To: kossebau Cc: #frameworks, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann