diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-09 11:03:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-09 11:03:00 (GMT) |
commit | c022d991663c8b76a27664090d92df0ad1a01dbb (patch) | |
tree | b8267b8025bccdba2a79df3790081030fc9e28ec /library/tk.tcl | |
parent | b33639f20e412831ed8724517ba70b2cdab6be57 (diff) | |
download | tk-c022d991663c8b76a27664090d92df0ad1a01dbb.zip tk-c022d991663c8b76a27664090d92df0ad1a01dbb.tar.gz tk-c022d991663c8b76a27664090d92df0ad1a01dbb.tar.bz2 |
[Bug 3555644]: Better use of virtual events.
Diffstat (limited to 'library/tk.tcl')
-rw-r--r-- | library/tk.tcl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/tk.tcl b/library/tk.tcl index 928fc2e..33671ed 100644 --- a/library/tk.tcl +++ b/library/tk.tcl @@ -377,9 +377,9 @@ switch -exact -- [tk windowingsystem] { event add <<SelectNextWord>> <Shift-Control-Right> event add <<PrevWord>> <Control-Left> event add <<SelectPrevWord>> <Shift-Control-Left> - event add <<LineStart>> <Home> + event add <<LineStart>> <Home> <Control-Key-a> <Control-Lock-Key-A> event add <<SelectLineStart>> <Shift-Home> - event add <<LineEnd>> <End> + event add <<LineEnd>> <End> <Control-Key-e> <Control-Lock-Key-E> event add <<SelectLineEnd>> <Shift-End> # Some OS's define a goofy (as in, not <Shift-Tab>) keysym that is @@ -418,9 +418,9 @@ switch -exact -- [tk windowingsystem] { event add <<SelectNextWord>> <Shift-Control-Right> event add <<PrevWord>> <Control-Left> event add <<SelectPrevWord>> <Shift-Control-Left> - event add <<LineStart>> <Home> + event add <<LineStart>> <Home> <Control-Key-a> <Control-Lock-Key-A> event add <<SelectLineStart>> <Shift-Home> - event add <<LineEnd>> <End> + event add <<LineEnd>> <End> <Control-Key-e> <Control-Lock-Key-E> event add <<SelectLineEnd>> <Shift-End> } "aqua" { @@ -447,8 +447,8 @@ switch -exact -- [tk windowingsystem] { event add <<SelectLineEnd>> <Shift-End> <Shift-Command-Right> # Not official, but logical extensions of above. Also derived from # bindings present in MS Word on OSX. - event add <<LineStart>> <Home> <Command-Left> - event add <<LineEnd>> <End> <Command-Right> + event add <<LineStart>> <Home> <Command-Left> <Command-Key-a> <Control-Lock-Key-A> + event add <<LineEnd>> <End> <Command-Right> <Command-Key-e> <Control-Lock-Key-E> } } |