tuikit/widgets/textbox.py
changeset 113 6796adfdc7eb
parent 112 ce2e67e7bbb8
parent 108 11dac45bfba4
child 118 8c7970520632
equal deleted inserted replaced
112:ce2e67e7bbb8 113:6796adfdc7eb
    13         # Text content, splitted as lines
    13         # Text content, splitted as lines
    14         self._lines = []
    14         self._lines = []
    15         self.text = text
    15         self.text = text
    16 
    16 
    17         self._cursor_visible = True
    17         self._cursor_visible = True
    18         # This variable rememberes horizontal cursor position
    18         # This variable remembers horizontal cursor position
    19         # for the case when cursor moves to shorter line.
    19         # for the case when cursor moves to shorter line.
    20         self.cursor_column = 0
    20         self.cursor_column = 0
    21         # selection - line and column of selection start
    21         # selection - line and column of selection start
    22         self.sel_line = 0
    22         self.sel_line = 0
    23         self.sel_column = 0
    23         self.sel_column = 0