From fbab5e252f22de37d42cc6c2a014d690a9312565 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 13 Jul 2025 18:35:32 +0300 Subject: implemented command for reading a file into the current buffer * This command exists in Video TECO. In Video TECO it also supports reading multiple files with a glob pattern -- we do not support that as I am not convinced of its usefulness. * teco_view_load() has been extended, so it can read into dot without discarding the existing document. --- src/ring.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ring.h') diff --git a/src/ring.h b/src/ring.h index b75846a..6114839 100644 --- a/src/ring.h +++ b/src/ring.h @@ -99,6 +99,7 @@ void teco_ring_cleanup(void); TECO_DECLARE_STATE(teco_state_edit_file); TECO_DECLARE_STATE(teco_state_save_file); +TECO_DECLARE_STATE(teco_state_read_file); void teco_state_ecommand_close(teco_machine_main_t *ctx, GError **error); -- cgit v1.2.3