Skip to content

Commit

Permalink
#99 cannot see highlight, copy has no effect, much worse
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Feb 23, 2019
1 parent fab7ca9 commit 212ffb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apstools/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ def _build_gui_(self):
xsb.pack(side=tk.BOTTOM, fill=tk.X)
ysb.pack(side=tk.RIGHT, fill=tk.Y)

# self.snapview = tk.Text(fr)
self.snapview = textreadonly.TextReadOnly(fr)
self.snapview = tk.Text(fr)
# self.snapview = textreadonly.TextReadOnly(fr)
xsb.configure(command=self.snapview.xview)
ysb.configure(command=self.snapview.yview)
self.snapview.configure(
Expand All @@ -239,6 +239,7 @@ def _build_gui_(self):
# FIXME: # on, to enable highlighting and copying to the
# FIXME: # clipboard.
# FIXME: self.snapview.bind("<1>", lambda event: self.snapview.focus_set())
self.snapview.bind("<Key>", lambda e: "break")
self.snapview.pack(expand=True, fill=tk.BOTH)

@property
Expand Down

0 comments on commit 212ffb0

Please sign in to comment.