Summary: | vi mode: scrolling features all incomplete / broken | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Dominik Haumann <dhaumann> |
Component: | Vi Input Mode | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ehamberg, kdedevel |
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | All | ||
Latest Commit: | http://commits.kde.org/kate/550df13a746a738aa4f220000d3fcd74562821d5 | Version Fixed In: | |
Sentry Crash Report: |
Description
Dominik Haumann
2013-07-16 12:23:33 UTC
Proper code can be found in commit http://commits.kde.org/kate/4e3ba0c43ba031882b9180a91ee05d8f524fb045 It basically comes down to querying the m_view->textFolding(), and also adhere to m_view->config()->scrollPastEnd() by then modifying the visible line count by adding m_viewInternal->visibleLines() - m_view->config()->autoCenterLines(). Maybe it would be a good idea to have int KateView::scrollLineCount() const, that takes this stuff into account. Git commit 550df13a746a738aa4f220000d3fcd74562821d5 by Michal Humpula. Committed on 30/11/2013 at 15:23. Pushed by michalhumpula into branch 'master'. vi-mode: fix computation of zz cmd when folding REVIEW: 114224 M +3 -2 part/vimode/katevinormalmode.cpp http://commits.kde.org/kate/550df13a746a738aa4f220000d3fcd74562821d5 |