Mercurial > vim
comparison src/ops.c @ 2000:91fff9db214e v7.2.297
updated for version 7.2-297
author | vimboss |
---|---|
date | Tue, 17 Nov 2009 11:43:06 +0000 |
parents | 92809ecb9a47 |
children | b8ab4ba6b110 |
comparison
equal
deleted
inserted
replaced
1999:fff7028d50c8 | 2000:91fff9db214e |
---|---|
3989 else | 3989 else |
3990 yb = &(y_regs[0]); | 3990 yb = &(y_regs[0]); |
3991 } | 3991 } |
3992 else | 3992 else |
3993 yb = &(y_regs[i]); | 3993 yb = &(y_regs[i]); |
3994 | |
3995 #ifdef FEAT_EVAL | |
3996 if (name == MB_TOLOWER(redir_reg) | |
3997 || (redir_reg == '"' && yb == y_previous)) | |
3998 continue; /* do not list register being written to, the | |
3999 * pointer can be freed */ | |
4000 #endif | |
4001 | |
3994 if (yb->y_array != NULL) | 4002 if (yb->y_array != NULL) |
3995 { | 4003 { |
3996 msg_putchar('\n'); | 4004 msg_putchar('\n'); |
3997 msg_putchar('"'); | 4005 msg_putchar('"'); |
3998 msg_putchar(name); | 4006 msg_putchar(name); |
6088 char_u **pp; | 6096 char_u **pp; |
6089 #ifdef FEAT_VISUAL | 6097 #ifdef FEAT_VISUAL |
6090 long maxlen; | 6098 long maxlen; |
6091 #endif | 6099 #endif |
6092 | 6100 |
6093 if (y_ptr->y_array == NULL) /* NULL means emtpy register */ | 6101 if (y_ptr->y_array == NULL) /* NULL means empty register */ |
6094 y_ptr->y_size = 0; | 6102 y_ptr->y_size = 0; |
6095 | 6103 |
6096 /* | 6104 /* |
6097 * Count the number of lines within the string | 6105 * Count the number of lines within the string |
6098 */ | 6106 */ |