Mercurial > vim
comparison src/ex_getln.c @ 6876:4ece46045a5a v7.4.758
patch 7.4.758
Problem: When 'conceallevel' is 1 and quitting the command-line window with
CTRL-C the first character ':' is erased.
Solution: Reset 'conceallevel' in the command-line window. (Hirohito
Higashi)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 25 Jun 2015 18:20:36 +0200 |
parents | 5f6077b10738 |
children | 58d9f967ae1a |
comparison
equal
deleted
inserted
replaced
6875:e21db7bc04e2 | 6876:4ece46045a5a |
---|---|
6609 | 6609 |
6610 # ifdef FEAT_AUTOCMD | 6610 # ifdef FEAT_AUTOCMD |
6611 /* Don't execute autocommands while deleting the window. */ | 6611 /* Don't execute autocommands while deleting the window. */ |
6612 block_autocmds(); | 6612 block_autocmds(); |
6613 # endif | 6613 # endif |
6614 # ifdef FEAT_CONCEAL | |
6615 /* Avoid command-line window first character being concealed. */ | |
6616 curwin->w_p_cole = 0; | |
6617 # endif | |
6614 wp = curwin; | 6618 wp = curwin; |
6615 bp = curbuf; | 6619 bp = curbuf; |
6616 win_goto(old_curwin); | 6620 win_goto(old_curwin); |
6617 win_close(wp, TRUE); | 6621 win_close(wp, TRUE); |
6618 | 6622 |