aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-04-05 10:10:47 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-04-05 19:58:45 +0200
commit164527b74aa6cd04bd50c36399bc14ab90073bcf (patch)
tree53d61af1dc32bb5bfaaa94d06c02bfd521df2de8 /text.h
parent1304c0680b8db9d8526eb36f0b563d534703338b (diff)
downloadvis-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.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/text.h b/text.h
index faa340c..e323cc2 100644
--- a/text.h
+++ b/text.h
@@ -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);