<table><tr><td style="">verner created this revision.<br />Herald added projects: Kate, Frameworks.<br />Herald added subscribers: kde-frameworks-devel, kwrite-devel.<br />verner requested review of this revision.
</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/D23225">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Vim numbers lines starting from 1. However, in command ranges such as, e.g., 0,$s/foo/bar/g<br />
it accepts zero as a line number and treats it as 1. This commit implements the same behaviour<br />
for kate.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>BRANCH</strong><div><div>fix/vim_mode_accept_0_as_line_index (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23225">https://phabricator.kde.org/D23225</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/src/vimode/emulatedcommandbar.cpp<br />
src/vimode/commandrangeexpressionparser.cpp</div></div></div><br /><div><strong>To: </strong>verner<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, LeGast00n, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>