diff src/graphics.cc @ 9064:7c02ec148a3c

Check grammar on all .cc files Same check as previously done on .m files Attempt to enforce some conformity in documentation text for rules such as two spaces after a period, commas around latin abbreviations, etc.
author Rik <rdrider0-list@yahoo.com>
date Sat, 28 Mar 2009 13:57:22 -0700
parents dbd0c77e575e
children 86ae7e50dc5d
line wrap: on
line diff
--- a/src/graphics.cc	Mon Mar 30 19:48:56 2009 -0400
+++ b/src/graphics.cc	Sat Mar 28 13:57:22 2009 -0700
@@ -5111,11 +5111,13 @@
 Example:\n\
 \n\
 @example\n\
+@group\n\
 function my_listener (h, dummy, p1)\n\
   fprintf (\"my_listener called with p1=%s\\n\", p1);\n\
 endfunction\n\
 \n\
 addlistener (gcf, \"position\", @{@@my_listener, \"my string\"@})\n\
+@end group\n\
 @end example\n\
 \n\
 @end deftypefn")
@@ -5172,6 +5174,7 @@
 Example:\n\
 \n\
 @example\n\
+@group\n\
 function my_listener (h, dummy, p1)\n\
   fprintf (\"my_listener called with p1=%s\\n\", p1);\n\
 endfunction\n\
@@ -5179,6 +5182,7 @@
 c = @{@@my_listener, \"my string\"@};\n\
 addlistener (gcf, \"position\", c);\n\
 dellistener (gcf, \"position\", c);\n\
+@end group\n\
 @end example\n\
 \n\
 @end deftypefn")
@@ -5277,9 +5281,11 @@
 Examples:\n\
 \n\
 @example\n\
+@group\n\
 addproperty (\"my_property\", gcf, \"string\", \"a string value\");\n\
 addproperty (\"my_radio\", gcf, \"radio\", \"val_1|val_2|@{val_3@}\");\n\
 addproperty (\"my_style\", gcf, \"linelinestyle\", \"--\");\n\
+@end group\n\
 @end example\n\
 \n\
 @end deftypefn")