Mercurial > vim
comparison src/testdir/test_conceal.vim @ 25818:37bc83bbda91 v8.2.3444
patch 8.2.3444: concealed text not revealed when leaving insert mode
Commit: https://github.com/vim/vim/commit/644b49fa0fb90143e8dbe90a7c14c9498d17b266
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 16 22:32:15 2021 +0200
patch 8.2.3444: concealed text not revealed when leaving insert mode
Problem: concealed text not revealed when leaving insert mode. (Michael
Soyka)
Solution: Check if concealing changed when leaving insert mode.
(closes #8880)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 16 Sep 2021 22:45:03 +0200 |
parents | 20133655107a |
children | d02a319c47ec |
comparison
equal
deleted
inserted
replaced
25817:bac65c7d2d22 | 25818:37bc83bbda91 |
---|---|
57 call term_sendkeys(buf, "\<Esc>") | 57 call term_sendkeys(buf, "\<Esc>") |
58 | 58 |
59 " Check that with cursor line is only concealed in Insert mode | 59 " Check that with cursor line is only concealed in Insert mode |
60 call term_sendkeys(buf, ":set concealcursor=i\r") | 60 call term_sendkeys(buf, ":set concealcursor=i\r") |
61 call VerifyScreenDump(buf, 'Test_conceal_two_windows_07n', {}) | 61 call VerifyScreenDump(buf, 'Test_conceal_two_windows_07n', {}) |
62 call term_sendkeys(buf, "a") | 62 call term_sendkeys(buf, "14|a") |
63 call VerifyScreenDump(buf, 'Test_conceal_two_windows_07i', {}) | 63 call VerifyScreenDump(buf, 'Test_conceal_two_windows_07i', {}) |
64 call term_sendkeys(buf, "\<Esc>/e") | 64 call term_sendkeys(buf, "\<Esc>") |
65 call VerifyScreenDump(buf, 'Test_conceal_two_windows_07in', {}) | |
66 call term_sendkeys(buf, "/e") | |
65 call VerifyScreenDump(buf, 'Test_conceal_two_windows_07c', {}) | 67 call VerifyScreenDump(buf, 'Test_conceal_two_windows_07c', {}) |
66 call term_sendkeys(buf, "\<Esc>v") | 68 call term_sendkeys(buf, "\<Esc>v") |
67 call VerifyScreenDump(buf, 'Test_conceal_two_windows_07v', {}) | 69 call VerifyScreenDump(buf, 'Test_conceal_two_windows_07v', {}) |
68 call term_sendkeys(buf, "\<Esc>") | 70 call term_sendkeys(buf, "\<Esc>") |
69 | 71 |