summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-13 15:15:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-13 15:15:30 (GMT)
commitbdb14e395df972fc7f21b95548251b28f5655556 (patch)
tree5751bf552a77db75d81b839f1cd30c2d59cf6e7a /library
parentca5d44cdc1c784baeda0ac0e47d4ce87f20362b7 (diff)
parentc7492578c7af6a586a3797ba790569ac6abacab2 (diff)
downloadtk-frq_3555324.zip
tk-frq_3555324.tar.gz
tk-frq_3555324.tar.bz2
merge trunkfrq_3555324
Diffstat (limited to 'library')
-rw-r--r--library/tk.tcl36
1 files changed, 14 insertions, 22 deletions
diff --git a/library/tk.tcl b/library/tk.tcl
index 1800adc..4d8174d 100644
--- a/library/tk.tcl
+++ b/library/tk.tcl
@@ -311,14 +311,6 @@ proc ::tk::EventMotifBindings {n1 dummy dummy} {
event $op <<Copy>> <Meta-Key-w> <Control-Key-Insert>
event $op <<Paste>> <Control-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>
- event $op <<NextLine>> <Control-Key-n> <Control-Lock-Key-N>
- event $op <<SelectPrevChar>> <Control-Key-B> <Control-Lock-Key-b>
- event $op <<SelectNextChar>> <Control-Key-F> <Control-Lock-Key-f>
- event $op <<SelectPrevLine>> <Control-Key-P> <Control-Lock-Key-p>
- event $op <<SelectNextLine>> <Control-Key-N> <Control-Lock-Key-n>
}
#----------------------------------------------------------------------
@@ -377,24 +369,24 @@ switch -exact -- [tk windowingsystem] {
event add <<ContextMenu>> <Button-2>
}
- event add <<SelectAll>> <Control-Key-slash>
+ event add <<SelectAll>> <Control-Key-slash> <Control-Key-a> <Control-Lock-Key-A>
event add <<SelectNone>> <Control-Key-backslash>
- event add <<NextChar>> <Right>
- event add <<SelectNextChar>> <Shift-Right>
- event add <<PrevChar>> <Left>
- event add <<SelectPrevChar>> <Shift-Left>
+ event add <<NextChar>> <Right> <Control-Key-f> <Control-Lock-Key-F>
+ event add <<SelectNextChar>> <Shift-Right> <Control-Key-F> <Control-Lock-Key-f>
+ event add <<PrevChar>> <Left> <Control-Key-b> <Control-Lock-Key-B>
+ event add <<SelectPrevChar>> <Shift-Left> <Control-Key-B> <Control-Lock-Key-b>
event add <<NextWord>> <Control-Right>
event add <<SelectNextWord>> <Control-Shift-Right>
event add <<PrevWord>> <Control-Left>
event add <<SelectPrevWord>> <Control-Shift-Left>
event add <<LineStart>> <Home>
- event add <<SelectLineStart>> <Shift-Home>
- event add <<LineEnd>> <End>
- event add <<SelectLineEnd>> <Shift-End>
- event add <<PrevLine>> <Up>
- event add <<NextLine>> <Down>
- event add <<SelectPrevLine>> <Shift-Up>
- event add <<SelectNextLine>> <Shift-Down>
+ event add <<SelectLineStart>> <Shift-Home> <Control-Key-A> <Control-Lock-Key-a>
+ event add <<LineEnd>> <End> <Control-Key-e> <Control-Lock-Key-E>
+ event add <<SelectLineEnd>> <Shift-End> <Control-Key-E> <Control-Lock-Key-e>
+ event add <<PrevLine>> <Up> <Control-Key-p> <Control-Lock-Key-P>
+ event add <<NextLine>> <Down> <Control-Key-n> <Control-Lock-Key-N>
+ event add <<SelectPrevLine>> <Shift-Up> <Control-Key-P> <Control-Lock-Key-p>
+ event add <<SelectNextLine>> <Shift-Down> <Control-Key-N> <Control-Lock-Key-n>
event add <<PrevPara>> <Control-Up>
event add <<NextPara>> <Control-Down>
event add <<SelectPrevPara>> <Control-Shift-Up>
@@ -463,9 +455,9 @@ switch -exact -- [tk windowingsystem] {
event add <<Undo>> <Command-Key-z> <Control-Lock-Key-Z>
event add <<Redo>> <Command-Key-Z> <Control-Lock-Key-z>
event add <<NextChar>> <Right> <Control-Key-f> <Control-Lock-Key-F>
- event add <<SelectNextChar>> <Shift-Right>
+ event add <<SelectNextChar>> <Shift-Right> <Control-Key-F> <Control-Lock-Key-f>
event add <<PrevChar>> <Left> <Control-Key-b> <Control-Lock-Key-B>
- event add <<SelectPrevChar>> <Shift-Left>
+ event add <<SelectPrevChar>> <Shift-Left> <Control-Key-B> <Control-Lock-Key-b>
event add <<NextWord>> <Option-Right>
event add <<SelectNextWord>> <Shift-Option-Right>
event add <<PrevWord>> <Option-Left>