diff options
| author | David B. Lamkins <david@lamkins.net> | 2016-04-19 22:51:29 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-19 23:03:09 +0200 |
| commit | 754b1cec7a39723b415ee76e797e587a7b5054dc (patch) | |
| tree | 556d63ccefd7301719aec4f51a9b66b2964c98cc /view.h | |
| parent | aab8b6c44151cb086850ba9872251cfc452506b7 (diff) | |
| download | vis-754b1cec7a39723b415ee76e797e587a7b5054dc.tar.gz vis-754b1cec7a39723b415ee76e797e587a7b5054dc.tar.xz | |
vis: add :set horizon option
Can be used to specify the number of bytes before the visible area
to consider for syntax highlighting.
Defaults to 32K for now, whereas before it was 16K.
Diffstat (limited to 'view.h')
| -rw-r--r-- | view.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -100,6 +100,8 @@ void view_options_set(View*, enum UiOption options); enum UiOption view_options_get(View*); void view_colorcolumn_set(View*, int col); int view_colorcolumn_get(View*); +void view_horizon_set(View*, size_t bytes); +size_t view_horizon_get(View*); /* A view can manage multiple cursors, one of which (the main cursor) is always * placed within the visible viewport. All functions named view_cursor_* operate |
