Mercurial > vim
comparison src/screen.c @ 1670:d766b2ba2fc6 v7.2b.002
updated for version 7.2b-002
author | vimboss |
---|---|
date | Mon, 14 Jul 2008 17:51:11 +0000 |
parents | 0b796e045c42 |
children | b98975453785 |
comparison
equal
deleted
inserted
replaced
1669:ec5ed41eea2f | 1670:d766b2ba2fc6 |
---|---|
6267 if (has_mbyte | 6267 if (has_mbyte |
6268 # ifdef FEAT_GUI | 6268 # ifdef FEAT_GUI |
6269 && !gui.in_use | 6269 && !gui.in_use |
6270 # endif | 6270 # endif |
6271 && mb_fix_col(col, row) != col) | 6271 && mb_fix_col(col, row) != col) |
6272 screen_puts_len(" ", 1, row, col - 1, 0); | 6272 screen_puts_len((char_u *)" ", 1, row, col - 1, 0); |
6273 #endif | 6273 #endif |
6274 | 6274 |
6275 off = LineOffset[row] + col; | 6275 off = LineOffset[row] + col; |
6276 #ifdef FEAT_MBYTE | 6276 #ifdef FEAT_MBYTE |
6277 max_off = LineOffset[row] + screen_Columns; | 6277 max_off = LineOffset[row] + screen_Columns; |
7137 /* When drawing over the right halve of a double-wide char clear | 7137 /* When drawing over the right halve of a double-wide char clear |
7138 * out the left halve. When drawing over the left halve of a | 7138 * out the left halve. When drawing over the left halve of a |
7139 * double wide-char clear out the right halve. Only needed in a | 7139 * double wide-char clear out the right halve. Only needed in a |
7140 * terminal. */ | 7140 * terminal. */ |
7141 if (mb_fix_col(start_col, row) != start_col) | 7141 if (mb_fix_col(start_col, row) != start_col) |
7142 screen_puts_len(" ", 1, row, start_col - 1, 0); | 7142 screen_puts_len((char_u *)" ", 1, row, start_col - 1, 0); |
7143 if (mb_fix_col(end_col, row) != end_col) | 7143 if (mb_fix_col(end_col, row) != end_col) |
7144 screen_puts_len(" ", 1, row, end_col, 0); | 7144 screen_puts_len((char_u *)" ", 1, row, end_col, 0); |
7145 } | 7145 } |
7146 #endif | 7146 #endif |
7147 /* | 7147 /* |
7148 * Try to use delete-line termcap code, when no attributes or in a | 7148 * Try to use delete-line termcap code, when no attributes or in a |
7149 * "normal" terminal, where a bold/italic space is just a | 7149 * "normal" terminal, where a bold/italic space is just a |