| To: vim_dev@googlegroups.com |
| Subject: Patch 7.3.071 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.3.071 |
| Problem: Editing a file in a window that's in diff mode resets 'diff' |
| but not cursor binding. |
| Solution: Reset cursor binding in two more places. |
| Files: src/quickfix.c, src/option.c |
| |
| |
| |
| |
| |
| *** 2359,2364 **** |
| --- 2359,2365 ---- |
| set_option_value((char_u *)"bt", 0L, (char_u *)"quickfix", |
| OPT_LOCAL); |
| set_option_value((char_u *)"bh", 0L, (char_u *)"wipe", OPT_LOCAL); |
| + RESET_BINDING(curwin); |
| #ifdef FEAT_DIFF |
| curwin->w_p_diff = FALSE; |
| #endif |
| |
| |
| |
| *** 9756,9761 **** |
| --- 9759,9767 ---- |
| #ifdef FEAT_SCROLLBIND |
| to->wo_scb = from->wo_scb; |
| #endif |
| + #ifdef FEAT_CURSORBIND |
| + to->wo_crb = from->wo_crb; |
| + #endif |
| #ifdef FEAT_SPELL |
| to->wo_spell = from->wo_spell; |
| #endif |
| |
| |
| |
| *** 716,717 **** |
| --- 716,719 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 71, |
| /**/ |
| |
| -- |
| A salesperson says: Translation: |
| "backward compatible" Old technology |
| "Premium" Overpriced |
| "Can't keep it on the shelf" Unavailable |
| "Stands alone" Piece of shit |
| "Proprietary" Incompatible |
| (Scott Adams - The Dilbert principle) |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ an exciting new programming language -- http://www.Zimbu.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |