Mercurial > vim
comparison src/ex_cmds.c @ 7412:bc5de65e499a v7.4.1010
commit https://github.com/vim/vim/commit/2d820808cda15b3ad9fe674393d1f1e997453d9e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 31 20:46:39 2015 +0100
patch 7.4.1010
Problem: Some developers are unhappy while running tests.
Solution: Add a test and some color.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 31 Dec 2015 21:00:04 +0100 |
parents | 08e62c4fc17d |
children | ad432f8f68fb |
comparison
equal
deleted
inserted
replaced
7411:a7f321e32883 | 7412:bc5de65e499a |
---|---|
7765 for (p = code; *p != NUL; ++p) | 7765 for (p = code; *p != NUL; ++p) |
7766 if (*p == 'x') | 7766 if (*p == 'x') |
7767 msg_putchar('\n'); | 7767 msg_putchar('\n'); |
7768 else | 7768 else |
7769 for (n = *p++; n > 0; --n) | 7769 for (n = *p++; n > 0; --n) |
7770 msg_putchar(*p); | 7770 if (*p == 'o' || *p == '$') |
7771 msg_putchar_attr(*p, hl_attr(HLF_L)); | |
7772 else | |
7773 msg_putchar(*p); | |
7771 msg_clr_eos(); | 7774 msg_clr_eos(); |
7772 } | 7775 } |
7773 | 7776 |
7774 #if defined(FEAT_GUI) || defined(FEAT_CLIENTSERVER) || defined(PROTO) | 7777 #if defined(FEAT_GUI) || defined(FEAT_CLIENTSERVER) || defined(PROTO) |
7775 /* | 7778 /* |