GEdit Shell Script Plugin [for GEdit 2.12]

Download:

gedit-shellscript-plugin-0.1.0.tar.gz

This plugin allows for gedit to have a dedicated scripts folder, just like Nautilus. The contents of this folder is then monitored via GnomeVFS and updated in real time onto the "Tools" menu in gedit.

When any of these scripts is activated, the current gedit selection is redirected to their stdin, while their stdout is directed to the document itself, making for a good way of filtering/generating text.

Also, stderr is presented using the gedit output panel (which is only visible when at least one line is sent to stderr).

Notice it has not yet been ported to the new plugin API.
Help is appreciated, thanks!

-- Rafael Jannone <rafael AT jannone DOT org>

Bugzilla:
http://bugzilla.gnome.org/show_bug.cgi?id=313834