[Github-comments] [geany/geany-plugins] [geanylua] geany.scintilla() does not work with SCI_SETLEXER (#646)
Skif-off
notifications at xxxxx
Tue Nov 28 15:27:49 UTC 2017
1. If I want to add [forced_enc](https://www.geany.org/manual/reference/document_8h.html#aaae9e8e045dbed0ee86751071c4eaa50), then where I can to find list of them and how to use? ```GEANY_ENCODING_*``` from [encodings.h](https://github.com/geany/geany/blob/master/src/encodings.h) or strings from [encodings.c](https://github.com/geany/geany/blob/master/src/encodings.c)? (I didn't find examples.)
2. Where I can find files for build deb-files from master-branch (or for nightly builds)? Or it's not public? I didn't find :) (Nofiles ```geany_*.debian.tar.xz``` & ```geany-plugins_*.debian.tar.xz``` for 1.32 and I couldn't do it myself for Utils and Workbench.)
---
P.S. ```geany.reloadconf``` (like ```geany.reload_configuration()``` from GeanyPy) may be of interest...
```diff
diff --git a/geanylua/glspi_app.c b/geanylua/glspi_app.c
index ed82d5eb..b59d6b9a 100644
--- a/geanylua/glspi_app.c
+++ b/geanylua/glspi_app.c
@@ -604,6 +604,12 @@ static gint glspi_keygrab(lua_State* L)
}
+static gint glspi_reloadconf(lua_State* L)
+{
+ main_reload_configuration();
+ return 0;
+}
+
static const struct luaL_reg glspi_app_funcs[] = {
{"pluginver", glspi_pluginver},
@@ -620,6 +626,7 @@ static const struct luaL_reg glspi_app_funcs[] = {
{"keycmd", glspi_keycmd},
{"launch", glspi_launch},
{"keygrab", glspi_keygrab},
+ {"reloadconf", glspi_reloadconf},
{NULL,NULL}
};
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/646#issuecomment-347559222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171128/fa9b2020/attachment.html>
More information about the Github-comments
mailing list