summaryrefslogtreecommitdiffstats
path: root/library/tk.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-09 11:03:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-09 11:03:00 (GMT)
commitc022d991663c8b76a27664090d92df0ad1a01dbb (patch)
treeb8267b8025bccdba2a79df3790081030fc9e28ec /library/tk.tcl
parentb33639f20e412831ed8724517ba70b2cdab6be57 (diff)
downloadtk-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.tcl12
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>
}
}