1
0
forked from aniani/vim

patch 8.0.0133

Problem:    "2;'(" causes ml_get errors in an empty buffer.  (Dominique Pelle)
Solution:   Check the cursor line earlier.
This commit is contained in:
Bram Moolenaar
2016-12-11 21:34:23 +01:00
parent 4c8980b717
commit fe38b494ff
3 changed files with 13 additions and 3 deletions

View File

@@ -234,3 +234,10 @@ func Test_remove_char_in_cmdline()
call feedkeys(":abc def\<S-Left>\<C-U>\<C-B>\"\<CR>", 'tx')
call assert_equal('"def', @:)
endfunc
func Test_illegal_address()
new
2;'(
2;')
quit
endfunc