~sarahstrong/ubuntu/lucid/gedit/mypatch

« back to all changes in this revision

Viewing changes to README.plugins

  • Committer: Bazaar Package Importer
  • Author(s): Joe Drew
  • Date: 2002-01-13 02:13:27 UTC
  • Revision ID: james.westby@ubuntu.com-20020113021327-dukaa4n50oykvrjg
Tags: upstream-0.9.6
ImportĀ upstreamĀ versionĀ 0.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
gedit Plugins - Verision 0.7.9 and above.
 
2
 
 
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.
 
6
 
 
7
Please let us know if you are writing a new plugin.
 
8
 
 
9
You should use gedit convenience functions for interaction with gedit :
 
10
The only functions you should use to interact with gedit are : 
 
11
 
 
12
gedit_window_active();
 
13
 
 
14
gedit_view_active();
 
15
gedit_view_get_selection();
 
16
gedit_view_set_position();
 
17
gedit_view_get_position();
 
18
 
 
19
gedit_docuemnt_current();
 
20
gedit_document_get_buffer();
 
21
gedit_document_get_buffer_length();
 
22
 
 
23
gedit_document_insert_text();
 
24
gedit_document_delete_text();
 
25
gedit_document_replace_text();
 
26
 
 
27
gedit_plugin_program_location_get();
 
28
gedit_plugin_program_location_change();
 
29
 
 
30
gedit_flash_va ();
 
31
 
 
32
 
 
33
Please use the naming convention as the email plugin. 
 
34
 
 
35
 
 
36
Chema
 
37
 
 
38
 
 
39
 
 
40
gEdit Plugins - v0.6.1
 
41
 
 
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)
 
47
 
 
48
Information on the current Plugins
 
49
----------------------------------
 
50
 
 
51
Convert
 
52
Written By: Alex Roberts (Original idea by Evan Lawrence)
 
53
 
 
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
 
56
          wrote it ;)...
 
57
 
 
58
Project Manager
 
59
Written By: Mikael Hermansson
 
60
 
 
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.
 
65
 
 
66
Spell:
 
67
Written By: Martin Wahlen
 
68
 
 
69
        * A cool spell checking plugin, using Ispell.... Quite buggy ATM
 
70
 
 
71
Email:
 
72
Written By: Evan Lawrence
 
73
 
 
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:
 
76
          and Subject:...!
 
77
 
 
78
 
 
79
Encrypt:
 
80
Written By: Alex Roberts and Chris Lahey
 
81
 
 
82
        * An Encryption plugin. It will Encrypt/Decrypt the current 
 
83
          document. This plugin uses the ROT13 encryption type...
 
84
          
 
85
Reverse:
 
86
Written By: Chris Lahey
 
87
        
 
88
        * A fun little plugin, that will reverse the text in the current
 
89
          document...
 
90
          
 
91
Diff:
 
92
Written By: Chris Lahey
 
93
 
 
94
        * This plugin will make a unified diff patch file between two files...
 
95
        
 
96
CVS-Diff:
 
97
Written By: Chris Lahey
 
98
 
 
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)...
 
102
 
 
103
Hello:
 
104
Written By: Chris Lahey and Alex Roberts
 
105
 
 
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...
 
109
        
 
110
Shell:
 
111
Written By: Martin Baulig
 
112
 
 
113
        * This is a gmodule plugin using libzvt from gnome-libs/zvt to
 
114
          display a shell...
 
115
        
 
116
ctags:
 
117
Written By: Fred Leeflang
 
118
 
 
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
 
122
          tags.
 
123
 
 
124
Browser:
 
125
Written By: Alex Roberts
 
126
 
 
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.
 
130
 
 
131
Wordcount:
 
132
Written By: Chris Lahey
 
133
 
 
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)
 
137
 
 
138
Man:
 
139
Written By: Alex Roberts
 
140
 
 
141
        * Lets you view Man pages within gEdit.
 
142
 
 
143
Time:
 
144
Written By: Alex Roberts
 
145
 
 
146
        * Inserts the current date/time into the current document.