From f4cde3377eede298aeca854903c897b6ca4aa430 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 11 Sep 2013 13:24:15 +0200 Subject: fix doc for move_point MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/editor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/editor.py b/src/editor.py index c65bc99..d082543 100644 --- a/src/editor.py +++ b/src/editor.py @@ -333,7 +333,8 @@ class TextArea(): ''' Move the the point - @return :delta The number of steps to move the point to the right + @param delta:int The number of steps to move the point to the right + @return :bool Whether the point has been moved ''' x = self.area.x + delta if 0 <= x <= len(self.text): -- cgit v1.2.3-70-g09d2