Skip to content

Commit

Permalink
GeanyLua: Allow continued use of old event scripts with deprecation w…
Browse files Browse the repository at this point in the history
…arning.

Stop checking for event scripts that are found to not exist.
Cache event scripts.  To clear the cache currently requires restarting the plugin.
  • Loading branch information
xiota committed Oct 6, 2021
1 parent 3c2c687 commit 9697231
Show file tree
Hide file tree
Showing 4 changed files with 475 additions and 461 deletions.
4 changes: 4 additions & 0 deletions geanylua/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
BasedOnStyle: LLVM
TabWidth: 3
IndentWidth: 3
UseTab: ForContinuationAndIndentation
2 changes: 1 addition & 1 deletion geanylua/glspi.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void glspi_init_mnu_funcs(lua_State *L);
void glspi_init_sci_funcs(lua_State *L);
/* custom dialogs module */
void glspi_init_gsdlg_module(lua_State *L, GsDlgRunHook hook, GtkWindow *toplevel);
void glspi_run_script(const gchar *script_file, gint caller, GKeyFile*proj, const gchar *script_dir);
void glspi_run_script(const gchar *script_file, gint caller, GKeyFile*proj, const gchar *script_dir, const gchar *script_cache);

/* Pass TRUE to create hashes, FALSE to destroy them */
void glspi_set_sci_cmd_hash(gboolean create);
Expand Down

0 comments on commit 9697231

Please sign in to comment.