diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-08-09 11:03:00 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-08-09 11:03:00 (GMT) |
commit | ba3dec19ee0a8486d2afb3dbe3000ea619aa5ef9 (patch) | |
tree | b8267b8025bccdba2a79df3790081030fc9e28ec /library/tk.tcl | |
parent | 9eb1d2f75ef87f16de354dc944c7e02b844514d2 (diff) | |
download | tk-ba3dec19ee0a8486d2afb3dbe3000ea619aa5ef9.zip tk-ba3dec19ee0a8486d2afb3dbe3000ea619aa5ef9.tar.gz tk-ba3dec19ee0a8486d2afb3dbe3000ea619aa5ef9.tar.bz2 |
[Bug 3555644]: Better use of virtual events.
FossilOrigin-Name: b16dcbf9fa8317a52d724d7d00316eede60742a5
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> } } |