Mercurial > vim
comparison src/testdir/test_conceal.vim @ 15434:80e79573dd6e v8.1.0725
patch 8.1.0725: conceal mode is not completely tested
commit https://github.com/vim/vim/commit/465e8b5985908596261cef9d671024ed8ded1ce3
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 11 20:42:28 2019 +0100
patch 8.1.0725: conceal mode is not completely tested
Problem: Conceal mode is not completely tested.
Solution: Add tests for moving the cursor in Insert mode.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 11 Jan 2019 20:45:05 +0100 |
parents | 8b78878311e0 |
children | 5b0f37d844b3 |
comparison
equal
deleted
inserted
replaced
15433:85ab9a288784 | 15434:80e79573dd6e |
---|---|
89 call VerifyScreenDump(buf, 'Test_conceal_two_windows_09c', {}) | 89 call VerifyScreenDump(buf, 'Test_conceal_two_windows_09c', {}) |
90 call term_sendkeys(buf, "\<Esc>v") | 90 call term_sendkeys(buf, "\<Esc>v") |
91 call VerifyScreenDump(buf, 'Test_conceal_two_windows_09v', {}) | 91 call VerifyScreenDump(buf, 'Test_conceal_two_windows_09v', {}) |
92 call term_sendkeys(buf, "\<Esc>") | 92 call term_sendkeys(buf, "\<Esc>") |
93 | 93 |
94 " Check moving the cursor while in insert mode. | |
95 call term_sendkeys(buf, ":set concealcursor=\r") | |
96 call term_sendkeys(buf, "a") | |
97 call VerifyScreenDump(buf, 'Test_conceal_two_windows_10', {}) | |
98 call term_sendkeys(buf, "\<Down>") | |
99 call VerifyScreenDump(buf, 'Test_conceal_two_windows_11', {}) | |
100 call term_sendkeys(buf, "\<Esc>") | |
101 | |
102 " Check the "o" command | |
103 call VerifyScreenDump(buf, 'Test_conceal_two_windows_12', {}) | |
104 call term_sendkeys(buf, "o") | |
105 call VerifyScreenDump(buf, 'Test_conceal_two_windows_13', {}) | |
106 call term_sendkeys(buf, "\<Esc>") | |
107 | |
94 " clean up | 108 " clean up |
95 call StopVimInTerminal(buf) | 109 call StopVimInTerminal(buf) |
96 call delete('XTest_conceal') | 110 call delete('XTest_conceal') |
97 endfunc | 111 endfunc |