diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-07-12 19:05:03 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-07-14 11:45:15 +0200 |
| commit | 386eac2063bdda79279bbdea2fffcd7fc0ff682a (patch) | |
| tree | 73ef16bc7f07ba8848020b98be3cde123f5b0a36 /view.c | |
| parent | 546917d21ca10214c24d3871c92b81265de6958c (diff) | |
| download | vis-386eac2063bdda79279bbdea2fffcd7fc0ff682a.tar.gz vis-386eac2063bdda79279bbdea2fffcd7fc0ff682a.tar.xz | |
vis-lua: make selection first class primitives in Lua API
Diffstat (limited to 'view.c')
| -rw-r--r-- | view.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1161,8 +1161,8 @@ void view_cursors_place(Selection *s, size_t line, size_t col) { view_cursors_to(s, pos); } -void view_selections_anchor(Selection *s) { - s->anchored = true; +void view_selections_anchor(Selection *s, bool anchored) { + s->anchored = anchored; } void view_selection_clear(Selection *s) { |
