Mercurial > vim
comparison src/buffer.c @ 3672:5aad2c444a00 v7.3.596
updated for version 7.3.596
Problem: Can't remove all signs for a file or buffer.
Solution: Support "*" for the sign id. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 10 Jul 2012 15:18:22 +0200 |
parents | a34fb0a077c9 |
children | 085f14642fe8 |
comparison
equal
deleted
inserted
replaced
3671:3d49d2dbb626 | 3672:5aad2c444a00 |
---|---|
55 # define dev_T unsigned | 55 # define dev_T unsigned |
56 #endif | 56 #endif |
57 | 57 |
58 #if defined(FEAT_SIGNS) | 58 #if defined(FEAT_SIGNS) |
59 static void insert_sign __ARGS((buf_T *buf, signlist_T *prev, signlist_T *next, int id, linenr_T lnum, int typenr)); | 59 static void insert_sign __ARGS((buf_T *buf, signlist_T *prev, signlist_T *next, int id, linenr_T lnum, int typenr)); |
60 static void buf_delete_signs __ARGS((buf_T *buf)); | |
61 #endif | 60 #endif |
62 | 61 |
63 #if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX) | 62 #if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX) |
64 static char *msg_loclist = N_("[Location List]"); | 63 static char *msg_loclist = N_("[Location List]"); |
65 static char *msg_qflist = N_("[Quickfix List]"); | 64 static char *msg_qflist = N_("[Quickfix List]"); |
5535 | 5534 |
5536 | 5535 |
5537 /* | 5536 /* |
5538 * Delete signs in buffer "buf". | 5537 * Delete signs in buffer "buf". |
5539 */ | 5538 */ |
5540 static void | 5539 void |
5541 buf_delete_signs(buf) | 5540 buf_delete_signs(buf) |
5542 buf_T *buf; | 5541 buf_T *buf; |
5543 { | 5542 { |
5544 signlist_T *next; | 5543 signlist_T *next; |
5545 | 5544 |