Lines Matching refs:buffer
41 // Logical pos from start of buffer (does not count gap).
44 // Pos from start of buffer, possibly including gap_size.
64 struct edit_buffer *buffer; // buffer that 'start' and 'end' belong to
69 { buffer = b; start = ms; end = me; }
89 void flush_to_buffer(edit_buffer* buffer);
99 void disconnect_gap_from_file(edit_buffer* buffer);
102 // A 'edit_mark' indicates a position in a buffer.
119 edit_buffer *buffer();
127 // all the buf_chars in the buffer.
129 // This implementation uses a conventional buffer gap (as in Emacs).
131 // This is because sometimes a FILE is inserting into the buffer,
180 edit_buffer* buffer = str->buffer;
181 if (buffer->_writer == this) flush_to_buffer(buffer);