Mercurial > vim
view src/testdir/bench_re_freeze.in @ 16662:1fc9cd08cf3c v8.1.1333
patch 8.1.1333: text properties don't always move after changes
commit https://github.com/vim/vim/commit/45dd07f10af9bea86f8df77e92788209e209fdab
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 15 22:45:37 2019 +0200
patch 8.1.1333: text properties don't always move after changes
Problem: Text properties don't always move after changes.
Solution: Update properties before reporting changes to listeners. Move text
property when splitting a line.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 15 May 2019 23:00:15 +0200 |
parents | adfbffe1e642 |
children |
line wrap: on
line source
Test for Benchmarking RE engine STARTTEST :so small.vim :if !has("reltime") | qa! | endif :set nocp cpo&vim :so bench_re_freeze.vim :call Measure('samples/re.freeze.txt', '\s\+\%#\@<!$', '+5') :/^" Benchmark/,$w! benchmark.out :qa! ENDTEST " Benchmark_results: