loh.tar added a comment.
Did anyone tried this patch? While coding my focus was only on behavior while enter text. Now I notice that the folding is "broken" in a way that the view jumps to the bottom :-S First digging indicate that makeVisible(..) is called twice, and the second time reported cache()->displayViewLine(..) "out of view" which is pretty surprising. The given cursor position is the same. Will look at this later this day. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D17857 To: loh.tar, #ktexteditor, cullmann, dhaumann Cc: swestersund, cullmann, dhaumann, kwrite-devel, kde-frameworks-devel, #ktexteditor, domson, michaelh, ngraham, bruns, demsking, sars