aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-09-11 13:24:15 +0200
committerMattias Andrée <maandree@operamail.com>2013-09-11 13:24:15 +0200
commitf4cde3377eede298aeca854903c897b6ca4aa430 (patch)
treec1c3a4762daaab3426579dc6636c022052c79532 /src
parentuse gettext (diff)
downloadpytagomacs-f4cde3377eede298aeca854903c897b6ca4aa430.tar.gz
pytagomacs-f4cde3377eede298aeca854903c897b6ca4aa430.tar.bz2
pytagomacs-f4cde3377eede298aeca854903c897b6ca4aa430.tar.xz
fix doc for move_point
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/editor.py3
1 files changed, 2 insertions, 1 deletions
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):