[gedit-plugins] Improved gtk doc punctiation



commit dd4da5b6b5c67d1177dc18eb642ccf8ae6716715
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Wed Feb 1 14:39:54 2012 +0100

    Improved gtk doc punctiation

 plugins/commander/modules/doc.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/commander/modules/doc.py b/plugins/commander/modules/doc.py
index b04cb42..20ce55b 100644
--- a/plugins/commander/modules/doc.py
+++ b/plugins/commander/modules/doc.py
@@ -167,11 +167,11 @@ for it to work."""
         doc.append(" * @", arg.name, ": ")
 
         if sm:
-            doc.append_placeholder("A #%s" % (sm.group(1) or sm.group(2),))
+            doc.append_placeholder("a #%s" % (sm.group(1) or sm.group(2),))
         else:
             doc.append_placeholder("Description")
 
-        doc.append("\n")
+        doc.append(".\n")
 
     doc.append(" *\n * ").append_placeholder("Description").append(".\n")
 
@@ -180,11 +180,11 @@ for it to work."""
         doc.append(" *\n * Returns: ")
 
         if sm:
-            doc.append_placeholder("A #%s" % (sm.group(1) or sm.group(2),))
+            doc.append_placeholder("a #%s" % (sm.group(1) or sm.group(2),))
         else:
             doc.append_placeholder("Description")
 
-        doc.append("\n")
+        doc.append(".\n")
 
     doc.append(" *\n **/\n")
     doc.insert()



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