[Anjuta-list] [Patch] BSD/Allman style indent addtion



This patch adds BSD/Allman style to indent options.

It should *just* work, but I haven't test compiled it yet.  With a
little luck, maybe SVN has test compile hooked in? ;-)

(Also, didn't include intl translations... is this done automagically?
cuz I can't speak anything but Urban English.)

--
Roger
http://www.eskimo.com/~roger/index.html
Key fingerprint = 8977 A252 2623 F567 70CD 1261 640F C963 1005 1D61

Wed Jun 27 10:22:41 PDT 2007
Adds BSD/Allman style to indent.  (Does not include intl translations.)

Signed-off-by: Roger <roger eskimo com>

Index: plugins/document-manager/indent-util.c
===================================================================
--- plugins/document-manager/indent-util.c	(revision 3028)
+++ plugins/document-manager/indent-util.c	(working copy)
@@ -92,6 +92,8 @@
 	{"Original Berkeley style", "-nbad -nbap -bbo -bc -br -brs -c33 -cd33 -cdb "
 	 "-ce -ci4 -cli0 -cp33 -di16 -fc1 -fca -hnl -i4 -ip4 -l75 -lp -npcs "
 	 "-nprs -psl", FALSE},
+	{"BSD/Allman style", "-bad -bap -nbbo -bl -bli0 -c33 -cbi4 -cd33 -ncdw -nce "
+	 "-ci4 -cli4 -cp33 -d0 -i4 -ip4 -npcs -npsl -nsc -sob -ts4", FALSE},
 	{"Anjuta coding style", "-l80 -lc80 -ts4 -i4 -sc -bli0 -bl0 -cbi0 -ss", FALSE},
 	{"Style of Kangleipak", "-i8 -sc -bli0 -bl0 -cbi0 -ss", FALSE},	
 	{"Hello World style", "-gnu -i0 -bli0 -cbi0 -cdb -sc -bl0 -ss", FALSE},	


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