aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ring.h')
-rw-r--r--src/ring.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ring.h b/src/ring.h
index 91ce3c9..126f455 100644
--- a/src/ring.h
+++ b/src/ring.h
@@ -44,6 +44,12 @@ typedef struct teco_buffer_t {
gchar *filename;
/**
+ * Counter increasing with every change.
+ * It is maintained only if a language server (LSP) is running.
+ */
+ guint version;
+
+ /**
* A teco_buffer_state_t.
* This is still a guint, so you can call teco_undo_guint().
*/
@@ -117,6 +123,8 @@ void teco_ring_undo_close(void);
void teco_ring_set_scintilla_undo(gboolean state);
+gboolean teco_ring_sync_lsp(GError **error);
+
void teco_ring_cleanup(void);
/*