From 13c10a7002fd25efc22d3f07f25f9bf693f83e89 Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 17 Oct 2023 10:13:07 -0400 Subject: sort key actions (new config system seems to be working!) --- ted-internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ted-internal.h') diff --git a/ted-internal.h b/ted-internal.h index 0b53e6a..066c38c 100644 --- a/ted-internal.h +++ b/ted-internal.h @@ -484,6 +484,10 @@ void command_execute_ex(Ted *ted, Command c, const CommandArgument *argument, co void config_read(Ted *ted, const char *filename); void config_free_all(Ted *ted); void config_merge_into(Settings *dest, const Config *src_cfg); +/// call this after all your calls to \ref config_merge_into +/// +/// (this sorts key actions, etc.) +void settings_finalize(Ted *ted, Settings *settings); bool config_applies_to(Config *cfg, const char *path, Language language); /// higher-priority configs override lower-priority ones. i32 config_priority(const Config *cfg); -- cgit v1.2.3