<table><tr><td style="">brauch added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12662">View Revision</a></tr></table><br /><div><div><p>Wow, that looks amazing! Really impressive.</p>

<p>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, ...)</p>

<p>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...</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12662">https://phabricator.kde.org/D12662</a></div></div><br /><div><strong>To: </strong>michalsrb, KTextEditor<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, dhaumann, cullmann, ngraham, brauch, michaelh, kevinapavew, bruns, demsking, sars<br /></div>