diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-09-11 13:24:15 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-09-11 13:24:15 +0200 |
| commit | f4cde3377eede298aeca854903c897b6ca4aa430 (patch) | |
| tree | c1c3a4762daaab3426579dc6636c022052c79532 | |
| parent | use gettext (diff) | |
| download | pytagomacs-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>
| -rw-r--r-- | src/editor.py | 3 |
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): |
