aboutsummaryrefslogtreecommitdiff
path: root/lexers/sql.lua
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-03-27 16:36:13 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-03-28 12:25:05 +0200
commit99512776c0f35f3f518c995642d1707368f80598 (patch)
tree22e57fcd145513f29c431a3ee7d068770ed176e3 /lexers/sql.lua
parent8965cd21386683cae680ba7de4b6a6ee6687e17f (diff)
downloadvis-99512776c0f35f3f518c995642d1707368f80598.tar.gz
vis-99512776c0f35f3f518c995642d1707368f80598.tar.xz
view: maintain ordering relation among cursors
This is currently only enforced upon creation i.e. we assume that after creation a cursor can not change its relative ordering with respect to its neighbors. The existing code assumes that when iterating through cursors with: for (Cursor *c = view_cursors(view); c; c = view_cursors_next(c)) ... new cursors created with view_cursors_new do not show up. This assumption is preserved under the following conditions: * it only holds for the most recent view_cursors call As a consequence when doing nested iterations new cursors will be yielded once the inner view_cursors call was performed. * view_cursors_primary_get is not called
Diffstat (limited to 'lexers/sql.lua')
0 files changed, 0 insertions, 0 deletions