]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixup for docstrings being inherited instead of usign the right ones
authorRobin Dunn <robin@alldunn.com>
Sat, 7 May 2005 07:20:51 +0000 (07:20 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 7 May 2005 07:20:51 +0000 (07:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/contrib/stc/_stc_docstrings.i

index 423aebf4f69052b9b0d608c9cf0e087390c03497..556f93945bd942f3bceabc6de2fad2acb0484427 100644 (file)
@@ -166,3 +166,53 @@ DocAStr(wxStyledTextCtrl::GetCurLine,
 "Retrieve the text of the line containing the caret, and also theindex
 of the caret on the line.", "");
 
+
+
+// For some reason these are not getting the right docstrings, but are
+// inheriting the docstrings from wxWindow instead.  So we'll have to
+// replace the whole proxy method instead.
+%feature("shadow") wxStyledTextCtrl::LineDown
+%{
+    def LineDown(*args, **kwargs):
+        """
+        LineDown(self)
+
+        Move caret down one line.
+        """
+        return _stc.StyledTextCtrl_LineDown(*args, **kwargs)
+%}
+
+%feature("shadow") wxStyledTextCtrl::LineUp
+%{
+    def LineUp(*args, **kwargs):
+        """
+        LineUp(self)
+
+        Move caret up one line.
+        """
+        return _stc.StyledTextCtrl_LineUp(*args, **kwargs)
+%}
+
+%feature("shadow") wxStyledTextCtrl::PageDown
+%{
+    def PageDown(*args, **kwargs):
+        """
+        PageDown(self)
+
+        Move caret one page down.
+        """
+        return _stc.StyledTextCtrl_PageDown(*args, **kwargs)
+%}
+
+%feature("shadow") wxStyledTextCtrl::PageUp
+%{
+    def PageUp(*args, **kwargs):
+        """
+        PageUp(self)
+
+        Move caret one page up.
+        """
+        return _stc.StyledTextCtrl_PageUp(*args, **kwargs)
+%}    
+
+