* view.c (struct WView): Moved the growing buffer variables
between the data source and the display section.
Этот коммит содержится в:
родитель
aae5612581
Коммит
f6f90ed34f
@ -1,3 +1,8 @@
|
||||
2005-04-18 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* view.c (struct WView): Moved the growing buffer variables
|
||||
between the data source and the display section.
|
||||
|
||||
2005-04-17 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* view.c (save_edit_changes): Completely rewritten to be robust
|
||||
|
16
src/view.c
16
src/view.c
@ -123,6 +123,14 @@ struct WView {
|
||||
byte *ds_string_data; /* The characters of the string */
|
||||
size_t ds_string_len; /* The length of the string */
|
||||
|
||||
/* Growing buffers information */
|
||||
gboolean growbuf_in_use; /* Use the growing buffers? */
|
||||
byte **growbuf_blockptr; /* Pointer to the block pointers */
|
||||
size_t growbuf_blocks; /* The number of blocks in *block_ptr */
|
||||
size_t growbuf_lastindex; /* Number of bytes in the last page of the
|
||||
growing buffer */
|
||||
gboolean growbuf_finished; /* TRUE when all data has been read. */
|
||||
|
||||
/* Editor modes */
|
||||
gboolean hex_mode; /* Hexview or Hexedit */
|
||||
gboolean hexedit_mode; /* Hexedit */
|
||||
@ -151,14 +159,6 @@ struct WView {
|
||||
/* Mode variables */
|
||||
int bytes_per_line; /* Number of bytes per line in hex mode */
|
||||
|
||||
/* Growing buffers information */
|
||||
gboolean growbuf_in_use; /* Use the growing buffers? */
|
||||
byte **growbuf_blockptr; /* Pointer to the block pointers */
|
||||
size_t growbuf_blocks; /* The number of blocks in *block_ptr */
|
||||
size_t growbuf_lastindex; /* Number of bytes in the last page of the
|
||||
growing buffer */
|
||||
gboolean growbuf_finished; /* TRUE when all data has been read. */
|
||||
|
||||
/* Search variables */
|
||||
offset_type search_start; /* First character to start searching from */
|
||||
offset_type found_len; /* Length of found string or 0 if none was found */
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user