neovim/test/functional/fixtures
Justin M. Keyes cc7e344f83 clipboard: remove start_batch_changes() in redir_write()
start_batch_changes() doesn't avoid invoking the clipboard
once-per-line, because the loop is actually in ex_echo(), which calls
redir_write() for each message. But we've already entered
start_batch_changes() by then, so that was never the problem.

    redir_write at /home/vagrant/old.neovim/build/../src/nvim/message.c:2523
    msg_puts_attr_len at /home/vagrant/old.neovim/build/../src/nvim/message.c:1600
    msg_outtrans_len_attr at /home/vagrant/old.neovim/build/../src/nvim/message.c:1221
    ex_echo at /home/vagrant/old.neovim/build/../src/nvim/eval.c:19433
    do_one_cmd at /home/vagrant/old.neovim/build/../src/nvim/ex_docmd.c:2242

Trying to defer _explicit_ clipboard updates is difficult.
    :redir @+ | silent echo system('cat foo') | redir END
is essentially equivalent to:
    for l in readfile('foo')
        let @+ .= l
    endfor
We cannot make judgements about when to ignore a script's bad decisions.
start_batch_changes() only works around the case of clipboard=unnamed,
i.e. _implicit_ clipboard updates (`:g/foo/d`).  Not explicit
assignment.
2017-08-20 20:01:22 +02:00
..
autoload clipboard: remove start_batch_changes() in redir_write() 2017-08-20 20:01:22 +02:00
api_level_0.mpack api: api_info()['version'] 2016-10-28 14:33:13 +02:00
api_level_1.mpack api: add api_level_1 fixure 2017-03-15 15:01:06 +01:00
api_level_2.mpack NVIM v0.2.0 2017-05-01 22:13:23 +02:00
bigfile_oneline.txt inccommand: improve performance #6949 2017-07-08 17:51:42 +02:00
bigfile.txt 'inccommand': Add tests. 2016-11-15 05:01:25 +01:00
CMakeLists.txt test: system([...]) 2017-01-11 01:05:55 +01:00
non_executable.txt jobstart(): Return -1 if cmd is not executable. #5671 2016-12-10 16:01:27 +01:00
printargs-test.c *: Add comment to all C files 2017-04-19 19:11:50 +03:00
shell-test.c *: Add comment to all C files 2017-04-19 19:11:50 +03:00
tty-test.c test: tty-test.c: keep tty_out handle around 2017-08-16 09:13:44 +02:00