On 5/7/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
On 5/7/06, Eric Arnold <[EMAIL PROTECTED]> wrote:
Can you clarify coulpe of points.
1.
a) Is this event fired when getchar() or vim extract event
from typeahead buffer for processing ?, or
yes
b) only when getchar() is invoked ? , or
c) when the char is inserted into typeahead buffer ?
Can you clarify this ?
2. The docs patch says:
+ Changing |v:getchar|
+ changes the value returned by the
+ |getchar()|function.
I don't understand why this sentence doesn't mention that
'Changing |v:getchar| changes the value returned by the getchar() or seen by
vim when vim read characters from typeahead buffer for processing',
because it follows from your other examples that changing
v:getchar can change which char vim will see ?
Correct. It actually changes what is returned by vgetc() . I
should reword it.
Or I'am getting it wrong ? Dis this sentence meant to say
Changing |v:getchar| changes the value extracted
from typeahead buffer by vim or by getchar() function
?
Or maybe
Changing |v:getchar| changes the value inserted
into typeahead buffer, and thus changes the input
that will be seen by vim or by getchar() function
?
Yakov