diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-04-05 10:10:47 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-04-05 19:58:45 +0200 |
| commit | 164527b74aa6cd04bd50c36399bc14ab90073bcf (patch) | |
| tree | 53d61af1dc32bb5bfaaa94d06c02bfd521df2de8 /text.h | |
| parent | 1304c0680b8db9d8526eb36f0b563d534703338b (diff) | |
| download | vis-164527b74aa6cd04bd50c36399bc14ab90073bcf.tar.gz vis-164527b74aa6cd04bd50c36399bc14ab90073bcf.tar.xz | |
Introduce new struct VisText
This adds yet another layer of indirection and stores vi related
stuff which is associated with a given text but shared among all
windows displaying it (e.g. marks).
This will also help if one wants to keep texts arround which
aren't currently displayed.
Diffstat (limited to 'text.h')
| -rw-r--r-- | text.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -77,12 +77,6 @@ typedef const char* Mark; Mark text_mark_set(Text*, size_t pos); size_t text_mark_get(Text*, Mark); -typedef int MarkIntern; -void text_mark_intern_set(Text*, MarkIntern, size_t pos); -size_t text_mark_intern_get(Text*, MarkIntern); -void text_mark_intern_clear(Text*, MarkIntern); -void text_mark_intern_clear_all(Text*); - /* get position of change denoted by index, where 0 indicates the most recent */ size_t text_history_get(Text*, size_t index); |
