It allows user to record some keystrokes combination and replay it, for example change something minor in five places. That simple feature was in the wishlist for plugins, I've implemented it in the most simple way. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/460
-- Commit Summary --
* Added folder keyrecord
-- File Changes --
A keyrecord/AUTHORS (1) A keyrecord/COPYING (339) A keyrecord/ChangeLog (0) A keyrecord/ChangeLog~ (10) A keyrecord/Makefile.am (4) A keyrecord/NEWS (0) A keyrecord/README (33) A keyrecord/README~ (56) A keyrecord/src/Makefile.am (10) A keyrecord/src/keyrecord.c (228)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/460.patch https://github.com/geany/geany-plugins/pull/460.diff
--- 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/pull/460
@@ -0,0 +1,10 @@ +include $(top_srcdir)/build/vars.build.mk +plugin = autoclose
+geanyplugins_LTLIBRARIES = autoclose.la
+autoclose_la_SOURCES = autoclose.c +autoclose_la_CPPFLAGS = $(AM_CPPFLAGS) -DG_LOG_DOMAIN="AutoClose" +autoclose_la_LIBADD = $(COMMONLIBS)
Please check for right prefix -> s/autoclose/keyrecord
--- 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/pull/460/files/a7b8054b6a65beec7a12a9...
gpointer data;
ScintillaObject *sci;
sci = documents[i]->editor->sci;
data = g_object_steal_data(G_OBJECT(sci), "keyrecord-userdata");
g_free(data);
- }
+}
+void geany_load_module(GeanyPlugin *plugin) +{
- /* main_locale_init() must be called for your package before any localization can be done */
- main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
- plugin->info->name = _("Keystrokes recorder");
- plugin->info->description = _("Allows to record some sequence of keystrokes and replay it");
This needs adding files to po/POTFILES.in
--- 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/pull/460/files/a7b8054b6a65beec7a12a9...
Please remove README~ from pull request as well as ensure MAINTAINER-entry for your plugin is set.
--- 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/pull/460#issuecomment-231668615
@tunyash pushed 1 commit.
90bba92 Added information about keyrecord everywhere.
--- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/geany/geany-plugins/pull/460/files/a7b8054b6a65beec7a12a9...
@tunyash pushed 1 commit.
7fe0a31 Deleted readme~
--- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/geany/geany-plugins/pull/460/files/90bba925e1853a7887008d...
@tunyash pushed 1 commit.
c9cfed6 Deleted readme~
--- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/geany/geany-plugins/pull/460/files/7fe0a3106210a6a63113a8...
gpointer data;
ScintillaObject *sci;
sci = documents[i]->editor->sci;
data = g_object_steal_data(G_OBJECT(sci), "keyrecord-userdata");
g_free(data);
- }
+}
+void geany_load_module(GeanyPlugin *plugin) +{
- /* main_locale_init() must be called for your package before any localization can be done */
- main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
- plugin->info->name = _("Keystrokes recorder");
- plugin->info->description = _("Allows to record some sequence of keystrokes and replay it");
Done, thank you.
--- 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/pull/460/files/a7b8054b6a65beec7a12a9...
Out of curiosity, what is the functional difference with GeanyMacro?
--- 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/pull/460#issuecomment-231707369
Geany macro is more about commonly used macros, this plugin is about help repeating actions for several times.
--- 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/pull/460#issuecomment-231715979
Sorry for leaving this so long here. I just don't get it working.Can you check wehther its not yet broken and maybe improve README?
Ahh. Beside of this seem to not break anything. Merging it
Merged #460.
github-comments@lists.geany.org