From 4e6ddd6c329d56055a732c6344df019f0d997aaf Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 7 Nov 2025 21:39:12 +0100 Subject: the command line macro is now managed by a Scintilla view * Instead of rendering a teco_string_t into a Scintilla view (GTK) and an ncurses window (Curses), it is now a Scintilla view and document that is modified directly. * Reduces redundancies between GTK and Curses UIs. * It will be more efficient on very large command lines, especially on GTK. * We can now redirect Scintilla messages to the command line view in order to configure syntax highlighting, the margin, rubout indicator style and scroll behavior (TODO). * This will also simplify the configuration of multi-line command lines (TODO). * Since INDIC_PLAIN is not supported by Scinterm, rubbed out command lines are now styled with INDIC_STRAIGHTBOX (background color). --- src/interface.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/interface.h') diff --git a/src/interface.h b/src/interface.h index 9531d37..8ab66ef 100644 --- a/src/interface.h +++ b/src/interface.h @@ -117,9 +117,6 @@ void teco_interface_info_update_buffer(const teco_buffer_t *buffer); void undo__teco_interface_info_update_qreg(const teco_qreg_t *); void undo__teco_interface_info_update_buffer(const teco_buffer_t *); -/** @pure */ -void teco_interface_cmdline_update(const teco_cmdline_t *cmdline); - /** @pure */ gboolean teco_interface_set_clipboard(const gchar *name, const gchar *str, gsize str_len, GError **error); -- cgit v1.2.3