Mercurial > vim
view src/testdir/test20.in @ 23473:ad83c0ff34c0 v8.2.2279
patch 8.2.2279: Vim9: memory leak with catch in skipped block
Commit: https://github.com/vim/vim/commit/508b5618ec0bc6d1edff71e04d99280a2a51df9d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 2 18:17:26 2021 +0100
patch 8.2.2279: Vim9: memory leak with catch in skipped block
Problem: Vim9: memory leak with catch in skipped block.
Solution: Free the pattern if not used.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Jan 2021 18:30:03 +0100 |
parents | 30bdd2e4a6f9 |
children |
line wrap: on
line source
Tests Blockwise Visual when there are TABs before the text. First test for undo working properly when executing commands from a register. Also test this in an empty buffer. STARTTEST G0"ay$k@au :new @auY:quit! GP /start here$ "by$jjlld /456$ jj"bP :/56$/,$-1w! test.out :qa! ENDTEST 123456 234567 345678 test text test tex start here some text test text test text OxjAykdd