Indent plugin and question



Hi,

This is the Indent plugin roughly based on the shell-output plugin by
Telemaco. Allows you to run indent with the predefined coding styles: GNU,
K&R and Original Berkeley. You may also make up a custom style by changing
options in the custom tab of the dialog (for now only holds indent
level;). Please try it and report any problems.

The plugin uses libgide calls, like gide_insert_text_at_pos, to interact
with the current document. Whereas the shell-output plugin uses things
like GNOME_Development_Environment_Document_getEditorInterfac to interact
with the document. What is the preferred way?

Cheers
-- 
Andre van Dijk
,----------------------------------+-------------`
| mailto:a vandijk unseen demon nl | icq:4249631 |
`----------------------------------+-------------'

Attachment: indent-plugin.tar.gz
Description: Binary data

Index: configure.in
===================================================================
RCS file: /cvs/gnome/gIDE/configure.in,v
retrieving revision 1.48
diff -u -r1.48 configure.in
--- configure.in	2001/08/10 06:29:31	1.48
+++ configure.in	2001/08/20 20:40:03
@@ -142,6 +142,7 @@
 plugins/mail/Makefile
 plugins/evo-mail/Makefile
 plugins/sample/Makefile
+plugins/indent/Makefile
 plugins/swapch/Makefile
 plugins/text/Makefile
 plugins/project-manager/Makefile
Index: plugins/Makefile.am
===================================================================
RCS file: /cvs/gnome/gIDE/plugins/Makefile.am,v
retrieving revision 1.15
diff -u -r1.15 Makefile.am
--- plugins/Makefile.am	2001/08/06 02:59:51	1.15
+++ plugins/Makefile.am	2001/08/20 20:40:04
@@ -6,7 +6,7 @@
 MAIL=mail
 endif
 
-SUBDIRS = debugger document-manager project-manager sample asciitable \
+SUBDIRS = debugger document-manager project-manager sample asciitable indent \
 	shell-output calculator docstat files functions help swapch text $(MAIL)
 
 EXTRA_DIST = evo-mail mail


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