Mercurial > vim
view src/testdir/test48.ok @ 14579:23d6d9e9ae3e v8.1.0303
patch 8.1.0303: line2byte() is wrong for last line with 'noeol'
commit https://github.com/vim/vim/commit/c26f7c60532a37a2bf0a5e69aa81081b440dfc38
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 20 22:53:04 2018 +0200
patch 8.1.0303: line2byte() is wrong for last line with 'noeol'
Problem: line2byte() is wrong for last line with 'noeol' and 'nofixeol'.
Solution: Fix off-by-one error. (Shane Harper, closes https://github.com/vim/vim/issues/3351)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 20 Aug 2018 23:00:06 +0200 |
parents | 9dc52b404c1b |
children |
line wrap: on
line source
, foo keyword keyword all your base are belong to vim 1 2 3 4 5 7 'i' <-- should be 3 ' ' 'C' <-- should be 3 ' ' 'a' <-- should be 4 ' ' 'A'<-- should be 0 ' ' 'D' <-- 'D' should be intact this is a test this is a test this is a test "r" x<-- should be 'x' "r" x <-- should be ' x ' [This line should contain only the text between the brackets.] v i m <-- should show the name of a noted text editor 6 . 0 <-- and its version number a a a