cullmann added a comment.
If you have benchmark results for that, I have no issues with the idea. Thought I think you only need to update the cache in add/removeView, not in KTextEditor::DocumentPrivate::createView REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D12511 To: jtamate, #kate Cc: cullmann, #frameworks, michaelh, kevinapavew, ngraham, bruns, demsking, sars, dhaumann