diff MoinMoin/PageGraphicalEditor.py @ 1961:4e528d291fc0

Page*.py: improve docstrings
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 07 Apr 2007 19:25:07 +0200
parents b06ef2a53efa
children 01f05e74aa9c
line wrap: on
line diff
--- a/MoinMoin/PageGraphicalEditor.py	Sat Apr 07 16:31:57 2007 +0200
+++ b/MoinMoin/PageGraphicalEditor.py	Sat Apr 07 19:25:07 2007 +0200
@@ -4,6 +4,9 @@
 
     Same as PageEditor, but we use the HTML based GUI editor here.
 
+    TODO:
+    * see PageEditor.py
+
     @copyright: 2006 Bastian Blank, Florian Festi,
                 2006-2007 MoinMoin:ThomasWaldmann
     @license: GNU GPL, see COPYING for details.
@@ -28,15 +31,14 @@
 
 
 class PageGraphicalEditor(PageEditor.PageEditor):
-
+    """ Same as PageEditor, but use the GUI editor (FCKeditor) """
     def word_rule(self):
         regex = re.compile(r"\(\?<![^)]*?\)")
         word_rule = regex.sub("", WikiParser.word_rule)
         return repr(word_rule)[1:]
 
     def sendEditor(self, **kw):
-        """
-        Send the editor form page.
+        """ Send the editor form page.
 
         @keyword preview: if given, show this text in preview mode
         @keyword staytop: don't go to #preview