comparison src/window.c @ 635:23a639c430c5

updated for version 7.0184
author vimboss
date Sat, 21 Jan 2006 22:09:43 +0000
parents 7437be625546
children d3c978b4c7ce
comparison
equal deleted inserted replaced
634:1c586ee8dd45 635:23a639c430c5
119 case 's': 119 case 's':
120 CHECK_CMDWIN 120 CHECK_CMDWIN
121 #ifdef FEAT_VISUAL 121 #ifdef FEAT_VISUAL
122 reset_VIsual_and_resel(); /* stop Visual mode */ 122 reset_VIsual_and_resel(); /* stop Visual mode */
123 #endif 123 #endif
124 #ifdef FEAT_QUICKFIX
125 /* When splitting the quickfix window open a new buffer in it,
126 * don't replicate the quickfix buffer. */
127 if (bt_quickfix(curbuf))
128 goto newwindow;
129 #endif
124 #ifdef FEAT_GUI 130 #ifdef FEAT_GUI
125 need_mouse_correct = TRUE; 131 need_mouse_correct = TRUE;
126 #endif 132 #endif
127 win_split((int)Prenum, 0); 133 win_split((int)Prenum, 0);
128 break; 134 break;
159 case Ctrl_N: 165 case Ctrl_N:
160 case 'n': 166 case 'n':
161 CHECK_CMDWIN 167 CHECK_CMDWIN
162 #ifdef FEAT_VISUAL 168 #ifdef FEAT_VISUAL
163 reset_VIsual_and_resel(); /* stop Visual mode */ 169 reset_VIsual_and_resel(); /* stop Visual mode */
170 #endif
171 #ifdef FEAT_QUICKFIX
172 newwindow:
164 #endif 173 #endif
165 if (Prenum) 174 if (Prenum)
166 sprintf((char *)cbuf, "%ld", Prenum); /* window height */ 175 sprintf((char *)cbuf, "%ld", Prenum); /* window height */
167 else 176 else
168 cbuf[0] = NUL; 177 cbuf[0] = NUL;