diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-03-27 16:36:13 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-03-28 12:25:05 +0200 |
| commit | 99512776c0f35f3f518c995642d1707368f80598 (patch) | |
| tree | 22e57fcd145513f29c431a3ee7d068770ed176e3 /lexers/applescript.lua | |
| parent | 8965cd21386683cae680ba7de4b6a6ee6687e17f (diff) | |
| download | vis-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/applescript.lua')
0 files changed, 0 insertions, 0 deletions
