Brian Victor wrote:

> As described in [1], the netbeans protocol "insert" command is behaving 
> incorrectly when the offset is in the middle of the line. After some 
> source diving, I discovered that the code was appending "for 
> simplicity." This patch fixes the command to insert instead.
> 
> This is my first vim patch. I tried to follow the suggestions in 
> develop.txt. Notably, however, I'm uncertain if a function already 
> exists to insert text in a line. If there is, it might be better to use 
> it than to do the memmove and STRCAT calls I'm doing.
> 
> [1] http://permalink.gmane.org/gmane.editors.vim.devel/34102

I wonder if any user of the netbeans interface would be broken by this.
Who actually is using this method?

If there are existing users, we might avoid breaking this by updating
the documentation instead.  It's not nice, but breaking actual use is
worse.

-- 
"Hegel was right when he said that we learn from history that man can
never learn anything from history."       (George Bernard Shaw)

 /// Bram Moolenaar -- [email protected] -- 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    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui