brauch updated this revision to Diff 39721. brauch added a comment.
add noteActivated notifier function When a note is mouse-overed or clicked, a function on the note provider is called, giving the point it was hovered or clicked in note coordinates, the type of event, and the note the event occured on. This can be used to e.g. expand notes on mouse-over, show a tooltip, or execute actions when clicking. You should even be able to e.g. highlight pseudo-buttons mouseover. REPOSITORY R39 KTextEditor CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D14826?vs=39692&id=39721 BRANCH inlinenotes REVISION DETAIL https://phabricator.kde.org/D14826 AFFECTED FILES CMakeLists.txt src/document/katedocument.h src/include/ktexteditor/inlinenoteinterface.h src/render/katerenderer.cpp src/render/katerenderer.h src/utils/ktexteditor.cpp src/view/kateview.cpp src/view/kateview.h src/view/kateviewinternal.cpp src/view/kateviewinternal.h To: brauch, michalsrb, dhaumann, cullmann Cc: anthonyfieroni, kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann