aboutsummaryrefslogtreecommitdiffstats
path: root/src/editor.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.py')
-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):