diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-12-03 02:25:05 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-12-03 03:53:59 +0100 |
commit | 0c07fd231d6de047cc0037b0de37c691561e34fa (patch) | |
tree | f9f0a734b569030259d11188a74d32233b5cb9ec /parser.h | |
parent | 1d44c8f0f75acb979a98d94e4dae6ff44d1accbf (diff) | |
download | sciteco-0c07fd231d6de047cc0037b0de37c691561e34fa.tar.gz |
organize buffer ring as a tail-q (double-linked list with tail pointer)
* new buffers are added at the list tail
* when closing a buffer, the next one is selected or the previous one if it is the tail
* the ring may be traversed in reverse order
* undoing a buffer close (Ring::UndoTokenEdit) could be cleaned up to only use standard macros (is slightly less efficient though)
Diffstat (limited to 'parser.h')
0 files changed, 0 insertions, 0 deletions