Mercurial > vim
view src/testdir/test48.ok @ 18483:54e5fa1f9cfc v8.1.2236
patch 8.1.2236: ml_get error if pattern matches beyond last line
Commit: https://github.com/vim/vim/commit/bb26596242fa7db477e2cd706dd99f9a426b5f71
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 31 04:38:36 2019 +0100
patch 8.1.2236: ml_get error if pattern matches beyond last line
Problem: Ml_get error if pattern matches beyond last line.
Solution: Adjust position if needed. (Christian Brabandt, closes https://github.com/vim/vim/issues/5139)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 31 Oct 2019 04:45:03 +0100 |
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