summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2015-11-08 22:14:04 (GMT)
committerfvogel <fvogel@noemail.net>2015-11-08 22:14:04 (GMT)
commit8aff219cdb91274190a5d825420c7772095c1e82 (patch)
treed8e573fe1ac1481ccc5b821424035e6327a1da06
parenta04e4798aa60275ce5228d3b2d61157911569e07 (diff)
parent4dc3351152088fd1b1374c20a0354f58e7762a9c (diff)
downloadtk-8aff219cdb91274190a5d825420c7772095c1e82.zip
tk-8aff219cdb91274190a5d825420c7772095c1e82.tar.gz
tk-8aff219cdb91274190a5d825420c7772095c1e82.tar.bz2
Fixed bug [297442da29] - tk_strictMotif not correctly taken into account
FossilOrigin-Name: ed0eed3547698aaed5d591bba8c141b4c73c3c91
-rw-r--r--doc/text.n5
-rw-r--r--library/tk.tcl1
2 files changed, 2 insertions, 4 deletions
diff --git a/doc/text.n b/doc/text.n
index ed9bc83..976503b 100644
--- a/doc/text.n
+++ b/doc/text.n
@@ -1992,9 +1992,8 @@ the clipboard.
Control-t reverses the order of the two characters to the right of the
insertion cursor.
.IP [32]
-Control-z (and Control-underscore on UNIX when \fBtk_strictMotif\fR is true)
-undoes the last edit action if the \fB\-undo\fR option is true. Does nothing
-otherwise.
+Control-z undoes the last edit action if the \fB\-undo\fR option is true.
+Does nothing otherwise.
.IP [33]
Control-Z (or Control-y on Windows) reapplies the last undone edit action if
the \fB\-undo\fR option is true. Does nothing otherwise.
diff --git a/library/tk.tcl b/library/tk.tcl
index 9a6a581..946ab7e 100644
--- a/library/tk.tcl
+++ b/library/tk.tcl
@@ -311,7 +311,6 @@ proc ::tk::EventMotifBindings {n1 dummy dummy} {
event $op <<Cut>> <Control-Key-w> <Control-Lock-Key-W> <Shift-Key-Delete>
event $op <<Copy>> <Meta-Key-w> <Meta-Lock-Key-W> <Control-Key-Insert>
event $op <<Paste>> <Control-Key-y> <Control-Lock-Key-Y> <Shift-Key-Insert>
- event $op <<Undo>> <Control-underscore>
event $op <<PrevChar>> <Control-Key-b> <Control-Lock-Key-B>
event $op <<NextChar>> <Control-Key-f> <Control-Lock-Key-F>
event $op <<PrevLine>> <Control-Key-p> <Control-Lock-Key-P>