>> It might help folks help you if you included the
>> get_command_mode_range() function.
>
> Ugh, yeah, I'm beginning to have a suspicion as to what the problem is:
>
> function! s:get_command_mode_range(type)
> let b = line("'[")
> let e = line("']")
>
> if b < e
> let range = '.,+' . (e - b)
> elseif b == e
> let range = '.'
> else
> let range = '.,+' . (b - e)
> endif
>
> call feedkeys(':' . range, 'n')
> endfunction
Mmm. And excuse my dumb reply from earlier that was agnostic about your
function.
Ben.
Send instant messages to your online friends http://au.messenger.yahoo.com
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---