| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.221 |
| 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.4.221 |
| Problem: Quickfix doesn't resize on ":copen 20". (issue 199) |
| Solution: Resize the window when requested. (Christian Brabandt) |
| Files: src/quickfix.c |
| |
| |
| |
| |
| |
| *** 2358,2364 **** |
| --- 2358,2379 ---- |
| win = qf_find_win(qi); |
| |
| if (win != NULL && cmdmod.tab == 0) |
| + { |
| win_goto(win); |
| + if (eap->addr_count != 0) |
| + { |
| + #ifdef FEAT_VERTSPLIT |
| + if (cmdmod.split & WSP_VERT) |
| + { |
| + if (height != W_WIDTH(win)) |
| + win_setwidth(height); |
| + } |
| + else |
| + #endif |
| + if (height != win->w_height) |
| + win_setheight(height); |
| + } |
| + } |
| else |
| { |
| qf_buf = qf_find_buf(qi); |
| |
| |
| |
| *** 736,737 **** |
| --- 736,739 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 221, |
| /**/ |
| |
| -- |
| The fastest way to get an engineer to solve a problem is to declare that the |
| problem is unsolvable. No engineer can walk away from an unsolvable problem |
| until it's solved. |
| (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 /// |