1
gedit Plugins - Verision 0.7.9 and above.
3
The best way to learn how the plugins work, is to look at the
4
code for other plugins. The plugin architecture has been
5
rewriten, so the docs described below are obsolete.
7
Please let us know if you are writing a new plugin.
9
You should use gedit convenience functions for interaction with gedit :
10
The only functions you should use to interact with gedit are :
12
gedit_window_active();
15
gedit_view_get_selection();
16
gedit_view_set_position();
17
gedit_view_get_position();
19
gedit_docuemnt_current();
20
gedit_document_get_buffer();
21
gedit_document_get_buffer_length();
23
gedit_document_insert_text();
24
gedit_document_delete_text();
25
gedit_document_replace_text();
27
gedit_plugin_program_location_get();
28
gedit_plugin_program_location_change();
33
Please use the naming convention as the email plugin.
40
gEdit Plugins - v0.6.1
42
For information on developing plugins, read plugins/plugin_howto.
43
Currently, all plugins are stored in "/usr/local/libexec/go/plugins",
44
and can be run from the "Plugins" menu in gEdit...
45
(If you write a Plugin for gEdit, please write a corresponding Info note about
46
it for this file. Thankyou -Alex)
48
Information on the current Plugins
49
----------------------------------
52
Written By: Alex Roberts (Original idea by Evan Lawrence)
54
* A handy tool that can convert Decimal value to Hex, or Octal; and a
55
Hex value to Decimal (Evan thought of this... I was bored... and
59
Written By: Mikael Hermansson
61
* This plugin allows you to Manage programming Projects, displaying
62
a tree of the .c source files and the header include files used by
63
the source file. Double clicking on the source file or a header file
64
will open it into gEdit.
67
Written By: Martin Wahlen
69
* A cool spell checking plugin, using Ispell.... Quite buggy ATM
72
Written By: Evan Lawrence
74
* This handy little plugin can Email the current document to any
75
email address, via a dialog box where you can choose From:, To:
80
Written By: Alex Roberts and Chris Lahey
82
* An Encryption plugin. It will Encrypt/Decrypt the current
83
document. This plugin uses the ROT13 encryption type...
86
Written By: Chris Lahey
88
* A fun little plugin, that will reverse the text in the current
92
Written By: Chris Lahey
94
* This plugin will make a unified diff patch file between two files...
97
Written By: Chris Lahey
99
* This, like the above, Diff, plugin creates a diff between the
100
current document, and the corresponding file in a CVS tree.
101
(Only tested with the Gnome CVS tree)...
104
Written By: Chris Lahey and Alex Roberts
106
* A simple plugin which prints 'Hello World' to Stdout. With the
107
comments included in the source, this can be used as a simple
108
demonstration on writing plugins...
111
Written By: Martin Baulig
113
* This is a gmodule plugin using libzvt from gnome-libs/zvt to
117
Written By: Fred Leeflang
119
* This plugin reads ctags generated tags files and makes
120
navigation in multiple source files easier by colorising
121
the known tags and making it possible to navigate to these
125
Written By: Alex Roberts
127
* This nifty plugin calls Lynx (with the -dump arg), and lets you
128
view webpages (via lynx) in gEdit.. Lynx HAS to be in /usr/bin
129
* This plugin will store the last visited URL.
132
Written By: Chris Lahey
134
* Dumps the number of Characters, Words and Paragraphs in the current
135
document out to STDOUT.
136
(Note - Wouldnt a GUI interface be better than outputting to STDOUT? -Alex)
139
Written By: Alex Roberts
141
* Lets you view Man pages within gEdit.
144
Written By: Alex Roberts
146
* Inserts the current date/time into the current document.