Mercurial > vim
comparison src/ex_cmds.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 | 298d8d6e69be |
children | 1baac9d06c83 |
comparison
equal
deleted
inserted
replaced
2582:2cdbc91795ca | 2583:7c2e6ba1d702 |
---|---|
3496 | 3496 |
3497 curbuf->b_p_ma = FALSE; /* not modifiable */ | 3497 curbuf->b_p_ma = FALSE; /* not modifiable */ |
3498 curbuf->b_p_bin = FALSE; /* reset 'bin' before reading file */ | 3498 curbuf->b_p_bin = FALSE; /* reset 'bin' before reading file */ |
3499 curwin->w_p_nu = 0; /* no line numbers */ | 3499 curwin->w_p_nu = 0; /* no line numbers */ |
3500 curwin->w_p_rnu = 0; /* no relative line numbers */ | 3500 curwin->w_p_rnu = 0; /* no relative line numbers */ |
3501 #ifdef FEAT_SCROLLBIND | 3501 RESET_BINDING(curwin); /* no scroll or cursor binding */ |
3502 curwin->w_p_scb = FALSE; /* no scroll binding */ | |
3503 #endif | |
3504 #ifdef FEAT_ARABIC | 3502 #ifdef FEAT_ARABIC |
3505 curwin->w_p_arab = FALSE; /* no arabic mode */ | 3503 curwin->w_p_arab = FALSE; /* no arabic mode */ |
3506 #endif | 3504 #endif |
3507 #ifdef FEAT_RIGHTLEFT | 3505 #ifdef FEAT_RIGHTLEFT |
3508 curwin->w_p_rl = FALSE; /* help window is left-to-right */ | 3506 curwin->w_p_rl = FALSE; /* help window is left-to-right */ |
5469 if (win_split(g_do_tagpreview > 0 ? g_do_tagpreview : 0, 0) | 5467 if (win_split(g_do_tagpreview > 0 ? g_do_tagpreview : 0, 0) |
5470 == FAIL) | 5468 == FAIL) |
5471 return FALSE; | 5469 return FALSE; |
5472 curwin->w_p_pvw = TRUE; | 5470 curwin->w_p_pvw = TRUE; |
5473 curwin->w_p_wfh = TRUE; | 5471 curwin->w_p_wfh = TRUE; |
5474 # ifdef FEAT_SCROLLBIND | 5472 RESET_BINDING(curwin); /* don't take over 'scrollbind' |
5475 curwin->w_p_scb = FALSE; /* don't take over 'scrollbind' */ | 5473 and 'cursorbind' */ |
5476 # endif | |
5477 # ifdef FEAT_DIFF | 5474 # ifdef FEAT_DIFF |
5478 curwin->w_p_diff = FALSE; /* no 'diff' */ | 5475 curwin->w_p_diff = FALSE; /* no 'diff' */ |
5479 # endif | 5476 # endif |
5480 # ifdef FEAT_FOLDING | 5477 # ifdef FEAT_FOLDING |
5481 curwin->w_p_fdc = 0; /* no 'foldcolumn' */ | 5478 curwin->w_p_fdc = 0; /* no 'foldcolumn' */ |