From 8816b7c7aded7ef8defca0bc6a78b2f5887faea6 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 30 Jan 2013 19:47:06 +0100 Subject: first draft of commandline-editing commands ({ and } as in VideoTECO) * simplified traditional commandline editing. no need to extend cmdline string one character at a time when inserting multiple. instead there's a marker (cmdline_pos) specifying the macro length to execute in a "step" and also the anchor for generating undo tokens * implementation does not yet work in macro calls * while editing the commandline, other buffers/registers may not be edited (need push-down-list and auxiliary q-register) --- src/cmdline.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cmdline.h') diff --git a/src/cmdline.h b/src/cmdline.h index b88599a..8747f63 100644 --- a/src/cmdline.h +++ b/src/cmdline.h @@ -25,6 +25,7 @@ #include "qregisters.h" extern gchar *cmdline; +extern gint cmdline_pos; extern bool quit_requested; void cmdline_keypress(gchar key); -- cgit v1.2.3