[gedit-list] resurrecting ctags plugin



Jesse,

I've decided to resurrect your ctags gedit plugin (http://live.gnome.org/Gedit/PluginCodeListing). (Yes, I know that this is only once of several ctags plugins floating around; I've looked at a few of them.) Below is a (tiny) patch to your archive which allows the plugin to build in a current gedit (2.16.2).

I'm interested in doing some more work on the plugin in the near future to add a few things:

- a command to jump to the definition of the symbol under the cursor
- navigate forward/back through symbol jump history
- general bug fixes / robustness
- display full path of tags files in history menu (right now they all just show up as "tags", even if in different directories)
- etc.

I know you haven't worked on this in a year or so. If you'd like to act as maintainer, I can send you patches. Or I can take over as maintainer and check the sources in somewhere so that I (and hopefully others) can continue to work on it. Let me know what you'd like to do.

adam

diff -u -r codelisting/ChangeLog gedit/plugins/codelisting/ChangeLog
--- codelisting/ChangeLog    2005-11-23 02:59:56.000000000 -0800
+++ gedit/plugins/codelisting/ChangeLog 2006-11-28 13:35:42.000000000 -0800
@@ -1,3 +1,8 @@
+2006-11-28  Adam Dingle <adam medovina org>
+
+       * gedit-code-listing-plugin-panel.c:
+       Minor fix so we can build with a current gedit (2.16.2).
+
2005-11-23  Jesse van den Kieboom  <jesse icecrew nl>

       * gedit-code-listing-plugin-panel.c:
diff -u -r codelisting/gedit-code-listing-plugin-panel.c gedit/plugins/codelisting/gedit-code-listing-plugin-panel.c --- codelisting/gedit-code-listing-plugin-panel.c 2005-11-23 03:10:40.000000000 -0800 +++ gedit/plugins/codelisting/gedit-code-listing-plugin-panel.c 2006-11-28 13:24:05.000000000 -0800
@@ -30,7 +30,6 @@

#include <gedit/gedit-utils.h>
#include <gedit/gedit-commands.h>
-#include <gedit/gedit-file-selector-util.h>
#include <gedit/gedit-debug.h>
#include <gedit/gedit-prefs-manager.h>
#include <gedit/gedit-prefs-manager-private.h>
@@ -920,7 +919,7 @@
if (gdoc == NULL) {
    uris = g_slist_prepend(NULL, all_uri);
-    gedit_cmd_load_files(panel->priv->window, uris, NULL);
+    gedit_commands_load_uris(panel->priv->window, uris, NULL, 0);
    gdoc = gedit_code_listing_plugin_panel_find_document(panel, all_uri);
    g_slist_free(uris);
  }




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]