From 600a85f7eeedc8ee2d9d757f99e2b31452d369b4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 11 Sep 2013 13:08:21 +0200 Subject: just for style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/editor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/editor.py') diff --git a/src/editor.py b/src/editor.py index 7db3723..3530faf 100644 --- a/src/editor.py +++ b/src/editor.py @@ -80,8 +80,8 @@ class TextArea(): @param fields:list Field names @param datamap:dist Data map @param left:int Left position of the component, 1 based - @param top:int Top position of the component, 1 based - @param width:int? Width of the component, `None` for screen width − left offset, negative for `None` plus that value + @param top:int Top position of the component, 1 based + @param width:int? Width of the component, `None` for screen width − left offset, negative for `None` plus that value @param height:int? Height of the component, `None` for screen height − top offset, negative for `None` plus that value ''' if width is None: width = 0 @@ -418,7 +418,7 @@ class TextArea(): x = self.left + self.innerleft + self.x - self.offx dashes = max(self.width - len(txt), 0) Jump(self.top + self.height - 2, self.left)() - print('\033[7m%s-\033[27m%s' % (self.limit_text(txt + '-' * dashes), Jump(y, x)), end='') + print('\033[07m%s-\033[27m%s' % (self.limit_text(txt + '-' * dashes), Jump(y, x)), end='') self.last_status = text def alert(self, text): @@ -457,7 +457,7 @@ class TextArea(): @param saver:()→bool Save method @param preredrawer:()?→void Method to call before redrawing screen - @param postredrawer:()?→void Method to call after redrawing screen + @param postredrawer:()?→void Method to call after redrawing screen ''' modified = False override = False -- cgit v1.2.3-70-g09d2