(mac patch) Make scrollbars proportional, remove help item from context menu, minor cleanup

2006-08-27 Thread Nicolas Weber
Hi, here's a cosmetic patch for vim mac. It does the following things: 1. It makes the scrollbars proportional (by calling SetControlViewSize () in gui_mch_set_scrollbar_thumb()) 2. It removes the useless disabled Help entry from the context menu (by passing kCMHelpItemRemoveHelp to

Re: (mac patch) Make scrollbars proportional, remove help item from context menu, minor cleanup

2006-08-27 Thread Bram Moolenaar
Nicolas Weber wrote: here's a cosmetic patch for vim mac. It does the following things: 1. It makes the scrollbars proportional (by calling SetControlViewSize () in gui_mch_set_scrollbar_thumb()) 2. It removes the useless disabled Help entry from the context menu (by passing

Re: How to trigger a screen update from RealWaitForChar

2006-08-27 Thread Brad Beveridge
SNIP Q1) Is using ml_append from (effectively) within RealWaitForChar a bad thing? At the moment it appears to work properly. Yes. You never know where in Vim you are, the caller may not handle the situation that the text changes unexpectedly. It's similar to autocommands, which have

Re: Fastest way to append line or char to a buffer

2006-08-27 Thread Brad Beveridge
On 26/08/06, Brad Beveridge [EMAIL PROTECTED] wrote: SNIP Cheers Brad Hi, sorry for all the trouble :) I'm having redraw issues, where running this code to append chars is causing strange problems. The scenario is this (always using the code below for char output): 1) Write a char to a