changeset 109 | 105b1affc3c2 |
parent 97 | 0c2e0c09ba5c |
child 111 | b055add74b18 |
--- a/tuikit/widgets/textbox.py Fri Mar 28 19:58:59 2014 +0100 +++ b/tuikit/widgets/textbox.py Wed Sep 03 19:08:21 2014 +0200 @@ -12,13 +12,12 @@ def __init__(self, text=''): Widget.__init__(self) + self.allow_focus = True # Text content, splitted as lines self._lines = [] self.text = text - self.allow_focus = True - # Cursor position is same as spot. # This variable rememberes horizontal position # for the case when cursor moves to shorter line.