Mercurial > vim
comparison src/quickfix.c @ 2583:7c2e6ba1d702 v7.3.008
updated for version 7.3.008
Problem: 'cursorbind' is kept in places where 'scrollbind' is reset.
Solution: Reset 'cursorbind'.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 21 Sep 2010 16:56:35 +0200 |
parents | 2a8bf2ba504f |
children | ff3a304b4ac2 |
comparison
equal
deleted
inserted
replaced
2582:2cdbc91795ca | 2583:7c2e6ba1d702 |
---|---|
1654 if (win_split(0, flags) == FAIL) | 1654 if (win_split(0, flags) == FAIL) |
1655 goto failed; /* not enough room for window */ | 1655 goto failed; /* not enough room for window */ |
1656 opened_window = TRUE; /* close it when fail */ | 1656 opened_window = TRUE; /* close it when fail */ |
1657 p_swb = empty_option; /* don't split again */ | 1657 p_swb = empty_option; /* don't split again */ |
1658 swb_flags = 0; | 1658 swb_flags = 0; |
1659 # ifdef FEAT_SCROLLBIND | 1659 RESET_BINDING(curwin); |
1660 curwin->w_p_scb = FALSE; | |
1661 # endif | |
1662 if (ll_ref != NULL) | 1660 if (ll_ref != NULL) |
1663 { | 1661 { |
1664 /* The new window should use the location list from the | 1662 /* The new window should use the location list from the |
1665 * location list window */ | 1663 * location list window */ |
1666 curwin->w_llist = ll_ref; | 1664 curwin->w_llist = ll_ref; |
2332 if (eap->cmdidx == CMD_copen || eap->cmdidx == CMD_cwindow) | 2330 if (eap->cmdidx == CMD_copen || eap->cmdidx == CMD_cwindow) |
2333 /* Create the new window at the very bottom. */ | 2331 /* Create the new window at the very bottom. */ |
2334 win_goto(lastwin); | 2332 win_goto(lastwin); |
2335 if (win_split(height, WSP_BELOW | WSP_NEWLOC) == FAIL) | 2333 if (win_split(height, WSP_BELOW | WSP_NEWLOC) == FAIL) |
2336 return; /* not enough room for window */ | 2334 return; /* not enough room for window */ |
2337 #ifdef FEAT_SCROLLBIND | 2335 RESET_BINDING(curwin); |
2338 curwin->w_p_scb = FALSE; | |
2339 #endif | |
2340 | 2336 |
2341 if (eap->cmdidx == CMD_lopen || eap->cmdidx == CMD_lwindow) | 2337 if (eap->cmdidx == CMD_lopen || eap->cmdidx == CMD_lwindow) |
2342 { | 2338 { |
2343 /* | 2339 /* |
2344 * For the location list window, create a reference to the | 2340 * For the location list window, create a reference to the |