<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>Oh, heh, yes it does. It's just your docstring which says otherwise ("is an interface for the View"), and that's what I looked at at that time. That should be changed. ;)</p>

<p>I think the question is less what you need and more what it is supposed to do semantically. Do you add annotations to a *document*, or do you add them to a specific *view* of that document (remember that there can be more than one view of a document, even visible at once, e.g. splitview)? I think you can find arguments for both, but I feel like the document variant (as you have it) will be easier to handle.</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>cullmann, ngraham, brauch, Frameworks, michaelh, kevinapavew, bruns, demsking, sars, dhaumann<br /></div>