<table><tr><td style="">michalsrb 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>Sorry, I had almost no time to work on it. I got stuck trying to figure out how to properly handle the notes at the beginning of the lines.</p>
<p>Then I created KDevelop plugin as experiment to try if the interface is usable:<br />
<a href="https://github.com/michalsrb/kdev-sourceinfo" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/michalsrb/kdev-sourceinfo</a></p>
<p><a href="https://phabricator.kde.org/F6190087" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F6190087: final-anim.gif</a></p>
<p>With that experience I think two things should be done differently:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">The notes should use something like <tt style="background: #ebebeb; font-size: 13px;">MovingCursor</tt> instead of fixed line + column, so they move when the text is edited, instead of waiting for refresh from the provider.</li>
<li class="remarkup-list-item">Currently the notes are "glued" to the character on their left side - it is not possible to place cursor in between that letter and the note. It feels unnatural when editing. In other editors (e.g. IntelliJ) the note behaves as separate character/object and the cursor can be placed on both sides. The note is still not editable, pressing backspace or delete just skips over the note. Any advice on how to achieve this with ktexteditor would be helpful.</li>
</ul></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>