summaryrefslogtreecommitdiff
path: root/examples/dte/show.h
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-11-09 23:19:53 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-11-09 23:19:53 +0100
commit1566b6faa8534118c3566188181367cd0868468f (patch)
tree1de8d4b369efb5e592685a31088f798a6b63ffa1 /examples/dte/show.h
parent349991bf6efe473ab9a5cbdae0a8114d72b997e3 (diff)
downloadcrep-1566b6faa8534118c3566188181367cd0868468f.tar.gz
Added partial matching and introduced threads
Diffstat (limited to 'examples/dte/show.h')
-rw-r--r--examples/dte/show.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/dte/show.h b/examples/dte/show.h
new file mode 100644
index 0000000..8736c50
--- /dev/null
+++ b/examples/dte/show.h
@@ -0,0 +1,27 @@
+#ifndef SHOW_H
+#define SHOW_H
+
+#include <stdbool.h>
+#include "editor.h"
+#include "util/macros.h"
+#include "util/ptr-array.h"
+#include "util/string.h"
+
+bool show(EditorState *e, const char *type, const char *key, bool cflag) NONNULL_ARG(1, 2) WARN_UNUSED_RESULT;
+void collect_show_subcommands(PointerArray *a, const char *prefix) NONNULL_ARGS;
+void collect_show_subcommand_args(EditorState *e, PointerArray *a, const char *name, const char *arg_prefix) NONNULL_ARGS;
+
+String dump_all_bindings(EditorState *e);
+String dump_command_history(EditorState *e);
+String dump_compilers(EditorState *e);
+String dump_cursors(EditorState *e);
+String dump_frames(EditorState *e);
+String dump_normal_aliases(EditorState *e);
+String dump_options_and_fileopts(EditorState *e);
+String dump_search_history(EditorState *e);
+String do_dump_builtin_configs(EditorState *e);
+String do_dump_filetypes(EditorState *e);
+String do_dump_hl_colors(EditorState *e);
+String do_dump_options(EditorState *e);
+
+#endif