From 164527b74aa6cd04bd50c36399bc14ab90073bcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 5 Apr 2015 10:10:47 +0200 Subject: 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. --- text.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'text.h') 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); -- cgit v1.2.3