Skip to content

Commit da7502e

Browse files
committed
Add a SELECTION to the pre-inserted text
1 parent 3886e3a commit da7502e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Tools/pynche/TextViewer.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ def __init__(self, switchboard, parent=None):
4141
Insert some stuff here and play
4242
with the buttons below to see
4343
how the colors interact in
44-
textual displays.''')
44+
textual displays.
45+
46+
See how the selection can also
47+
be affected by tickling the buttons
48+
and choosing a color.''')
49+
self.__text.tag_add(SEL, 6.0, END)
4550
#
4651
# variables
4752
self.__trackp = BooleanVar()

0 commit comments

Comments
 (0)