aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core-commands.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-26 00:37:43 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-26 00:42:15 +0300
commiteb6f7a82045ad78553fca98c54a51366c55bd7a4 (patch)
treeff0cca8d3dfb71afe832e73616867cd09fdac22c /src/core-commands.h
parent574b46657cd5b752597384b31f37dd6a07f063d8 (diff)
downloadsciteco-eb6f7a82045ad78553fca98c54a51366c55bd7a4.tar.gz
implemented the <T> (typeout) command for printing to the terminal from the current buffer
* refactored some code that is common with Xq into teco_get_range_args().
Diffstat (limited to 'src/core-commands.h')
-rw-r--r--src/core-commands.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core-commands.h b/src/core-commands.h
index 9ae508b..bf73b8c 100644
--- a/src/core-commands.h
+++ b/src/core-commands.h
@@ -25,6 +25,8 @@
/** non-operational characters in teco_state_start */
#define TECO_NOOPS " \f\r\n\v"
+gboolean teco_get_range_args(const gchar *cmd, gsize *from_ret, gsize *len_ret, GError **error);
+
/* in cmdline.c */
gboolean teco_state_command_process_edit_cmd(teco_machine_main_t *ctx, teco_machine_t *parent_ctx,
gunichar key, GError **error);