line

Undocumented in source.

Members

Functions

atFront
bool atFront(LINE* lp, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty(LINE* lp, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
front
int front(LINE* lp, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
kill_appendchar
bool kill_appendchar(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
kill_appendstring
bool kill_appendstring(char[] s)

Append string to kill buffer.

kill_freebuffer
void kill_freebuffer()
Undocumented in source. Be warned that the author may not have intended to support it.
kill_fromClipboard
void kill_fromClipboard()
Undocumented in source. Be warned that the author may not have intended to support it.
kill_remove
int kill_remove(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
kill_setbuffer
void kill_setbuffer(int i)

Set the current kill buffer to i.

kill_setsize
int kill_setsize(int size)

We're going to use at least size bytes, so make room for it.

kill_toClipboard
void kill_toClipboard()
Undocumented in source. Be warned that the author may not have intended to support it.
lback
LINE* lback(LINE* lp)
Undocumented in source. Be warned that the author may not have intended to support it.
lforw
LINE* lforw(LINE* lp)
Undocumented in source. Be warned that the author may not have intended to support it.
lgetc
char lgetc(LINE* lp, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
line_change
void line_change(int flag)
Undocumented in source. Be warned that the author may not have intended to support it.
line_delete
bool line_delete(int n, bool kflag)
Undocumented in source. Be warned that the author may not have intended to support it.
line_delnewline
bool line_delnewline()
Undocumented in source. Be warned that the author may not have intended to support it.
line_free
void line_free(LINE* lp)
Undocumented in source. Be warned that the author may not have intended to support it.
line_insert
int line_insert(int n, char c)
Undocumented in source. Be warned that the author may not have intended to support it.
line_newline
int line_newline()

Insert a newline into the buffer at the current location of dot in the current window. The funny ass-backwards way it does things is not a botch; it just makes the last line in the file not a special case. Return TRUE if everything works out and FALSE on error (memory allocation failure). The update of dot and mark is a bit easier then in the above case, because the split forces more updating.

line_overwrite
int line_overwrite(int n, char c)

Same as line_insert(), but for overwrite mode.

line_realloc
LINE* line_realloc(LINE* lpold, int used)
Undocumented in source. Be warned that the author may not have intended to support it.
llength
int llength(LINE* lp)
Undocumented in source. Be warned that the author may not have intended to support it.
lputc
char lputc(LINE* lp, int n, char c)
Undocumented in source. Be warned that the author may not have intended to support it.
peekBack
int peekBack(LINE* lp, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
popBack
void popBack(LINE* lp, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
popFront
void popFront(LINE* lp, int n)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

kbp
killbuf_t* kbp;
Undocumented in source.
killbuffer
killbuf_t[4] killbuffer;
Undocumented in source.

Structs

LINE
struct LINE
Undocumented in source.
killbuf_t
struct killbuf_t

KILL BUFFER STUFF ********************

Meta