comparison src/screen.c @ 11:4424b47a0797

updated for version 7.0003
author vimboss
date Wed, 30 Jun 2004 16:16:41 +0000
parents 3fc0f57ecb91
children bdeee1504ac1
comparison
equal deleted inserted replaced
10:4e2284e71352 11:4424b47a0797
2592 #else 2592 #else
2593 # define WL_SBR WL_NR 2593 # define WL_SBR WL_NR
2594 #endif 2594 #endif
2595 #define WL_LINE WL_SBR + 1 /* text in the line */ 2595 #define WL_LINE WL_SBR + 1 /* text in the line */
2596 int draw_state = WL_START; /* what to draw next */ 2596 int draw_state = WL_START; /* what to draw next */
2597 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) 2597 #if defined(FEAT_XIM) && (defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE))
2598 int feedback_col = 0; 2598 int feedback_col = 0;
2599 int feedback_old_attr = -1; 2599 int feedback_old_attr = -1;
2600 #endif 2600 #endif
2601 2601
2602 2602
3783 && draw_state == WL_LINE 3783 && draw_state == WL_LINE
3784 && (area_attr == 0 || char_attr != area_attr) 3784 && (area_attr == 0 || char_attr != area_attr)
3785 && (search_attr == 0 || char_attr != search_attr)) 3785 && (search_attr == 0 || char_attr != search_attr))
3786 char_attr = extra_attr; 3786 char_attr = extra_attr;
3787 3787
3788 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) 3788 #if defined(FEAT_XIM) && (defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE))
3789 /* XIM don't send preedit_start and preedit_end, but they send 3789 /* XIM don't send preedit_start and preedit_end, but they send
3790 * preedit_changed and commit. Thus Vim can't set "im_is_active", use 3790 * preedit_changed and commit. Thus Vim can't set "im_is_active", use
3791 * im_is_preediting() here. */ 3791 * im_is_preediting() here. */
3792 if (xic != NULL 3792 if (xic != NULL
3793 && lnum == curwin->w_cursor.lnum 3793 && lnum == curwin->w_cursor.lnum