summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-11-08 22:14:04 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-11-08 22:14:04 (GMT)
commit7556ba8680f11b484c86132b410fcdd86cb9e799 (patch)
treed8e573fe1ac1481ccc5b821424035e6327a1da06
parent8e14ee04b3964bb9118b78ee62722fbf9f2129cb (diff)
parent97844543d417f9d8b2fb8fbd73985961e5de2aa0 (diff)
downloadtk-7556ba8680f11b484c86132b410fcdd86cb9e799.zip
tk-7556ba8680f11b484c86132b410fcdd86cb9e799.tar.gz
tk-7556ba8680f11b484c86132b410fcdd86cb9e799.tar.bz2
Fixed bug [297442da29] - tk_strictMotif not correctly taken into account
-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>