mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 06:20:55 +01:00
39806: internal: Document zle's vichgbuf.
This commit is contained in:
parent
4ad1ad9777
commit
9d460a9d7f
2 changed files with 11 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2016-11-03 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* 39806: Src/Zle/zle_vi.c: internal: Document zle's vichgbuf.
|
||||
|
||||
* 39805: Src/Zle/comp.h, Src/Zle/compcore.c: internal: Document
|
||||
some compadd internals.
|
||||
|
||||
|
|
|
|||
|
|
@ -47,10 +47,19 @@ int vilinerange;
|
|||
|
||||
/* last vi change buffer, for vi change repetition */
|
||||
|
||||
/*
|
||||
* vichgbufsz: Allocated size of vichgbuf.
|
||||
* vichgbufptr: Length in use.
|
||||
* vichgflag: true whilst inputting a vi normal mode; causes it to be
|
||||
* accumulated in vichgbuf, incrementing vichgbufptr.
|
||||
*/
|
||||
|
||||
/**/
|
||||
int vichgbufsz, vichgbufptr, vichgflag;
|
||||
|
||||
/*
|
||||
* The bytes that make up the current vi command. See vichgbuf* above.
|
||||
*
|
||||
* Examination of the code suggests vichgbuf is consistently tied
|
||||
* to raw byte input, so it is left as a character array rather
|
||||
* than turned into wide characters. In particular, when we replay
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue