On 14:40 Wed 14 Jan , Charles Campbell wrote: > Gary Johnson wrote: > > I just updated to 7.4.579 on one of my Linux systems. With the > > cursor over "printf" in a C file, typing K results in the following > > error message. > > > > Error detected while processing function > > manpageview#KMap..manpageview#ManPageView: > > > > > > line 258: > > E16: Invalid range: 3wincmd - > > Press ENTER or type command to continue > > > > I'm using plugin/manpageviewPlugin.vim version 25b (Aug 06, 2012) > > and autoload/manpageview.vim version 25k ASTRO-ONLY (Apr 05, 2013). > > > > > Hello, Gary: > > Patch #565 introduced a problem in its attempt to error-check ranges; > its being worked now. To demonstrate: try > > vim -u NONE > :52wincmd v > > and you'll likely get an "invalid range" error message. > > Regards, > Chip Campbell
Hello, Bram the attached patch fixes this issue. Best regards, Marcin -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
diff --git a/src/window.c b/src/window.c
index 6ca288e..39b4777 100644
--- a/src/window.c
+++ b/src/window.c
@@ -632,7 +632,7 @@ get_wincmd_addr_type(arg, eap)
char_u *arg;
exarg_T *eap;
{
- switch (*arg)
+ switch (*skipwhite(arg))
{
case 'S':
case Ctrl_S:
signature.asc
Description: Digital signature
