diff options
author | fvogel <fvogel@noemail.net> | 2015-11-08 22:14:04 (GMT) |
---|---|---|
committer | fvogel <fvogel@noemail.net> | 2015-11-08 22:14:04 (GMT) |
commit | 8aff219cdb91274190a5d825420c7772095c1e82 (patch) | |
tree | d8e573fe1ac1481ccc5b821424035e6327a1da06 | |
parent | a04e4798aa60275ce5228d3b2d61157911569e07 (diff) | |
parent | 4dc3351152088fd1b1374c20a0354f58e7762a9c (diff) | |
download | tk-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.n | 5 | ||||
-rw-r--r-- | library/tk.tcl | 1 |
2 files changed, 2 insertions, 4 deletions
@@ -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> |