D12662: Add InlineNoteInterface
noreply at phabricator.kde.org
Mon Aug 13 09:24:05 BST 2018
brauch added a comment.
Wow, that looks amazing! Really impressive.
Using moving cursors for this sounds good to me. Other things which cannot be updated in real-time do that as well (highlighting, error underlines, ...)
Regarding the cursor issue: I think you would need a state variable whether the cursor is left or right of the note. You could then patch KateViewInternal::placeCursor to set this correctly and also the cursor move functions to take this into account. That's not ideal since it requires to modify a few places, but probably actually adding a character would require more modifications...
To: michalsrb, #ktexteditor
Cc: kwrite-devel, kde-frameworks-devel, dhaumann, cullmann, ngraham, brauch, michaelh, kevinapavew, bruns, demsking, sars
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel