From 71eab6d5d72145f17ab3d4c87945ac12176ae8e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 3 May 2017 18:00:52 +0200 Subject: text: remove text_history_get function As currently implemented this does not properly integrate with multiple cursor support. The functionality should be provided in a layer higher up. The jumplist and changelist need to be redesigned, for now they are broken. --- text.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'text.h') diff --git a/text.h b/text.h index 99d1709..e76ad5b 100644 --- a/text.h +++ b/text.h @@ -357,7 +357,4 @@ ssize_t text_write_range(Text*, Filerange*, int fd); bool text_mmaped(Text*, const char *ptr); /** @} */ -/* get position of change denoted by index, where 0 indicates the most recent */ -size_t text_history_get(Text*, size_t index); - #endif -- cgit v1.2.3