diff options
| author | Mattias Andrée <maandree@operamail.com> | 2014-06-13 13:03:34 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2014-06-13 13:03:34 +0200 |
| commit | 4a9a6e6994667bc419126b7757704c5d90c0a692 (patch) | |
| tree | 55ad72e420decfb07735bb18477873a96769b9cb | |
| parent | merge the two branches (diff) | |
| download | pytagomacs-4a9a6e6994667bc419126b7757704c5d90c0a692.tar.gz pytagomacs-4a9a6e6994667bc419126b7757704c5d90c0a692.tar.bz2 pytagomacs-4a9a6e6994667bc419126b7757704c5d90c0a692.tar.xz | |
fix control+down when all lines are visible
Signed-off-by: Mattias Andrée <maandree@operamail.com>
| -rw-r--r-- | src/editor.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/editor.py b/src/editor.py index bc73348..44caac6 100644 --- a/src/editor.py +++ b/src/editor.py @@ -330,6 +330,7 @@ class TextArea(): self.mark, self.x, self.offx = None, 0, 0 else: self.y = self.offy + self.height - 3 + self.y = min(self.y, len(self.lines) - 1) self.mark, self.x, self.offx = None, 0, 0 elif d == -3: if self.x == 0: self.alert(_('At beginning')) |
