From b883e880976a068be12cf29c379b97be348ea79c Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Fri, 10 Aug 2012 11:28:09 +0000 Subject: Shift-Control -> Control-Shift, for consisancy everywhere --- doc/ttk_notebook.n | 2 +- library/listbox.tcl | 4 ++-- library/text.tcl | 4 ++-- library/tk.tcl | 8 ++++---- library/ttk/notebook.tcl | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/ttk_notebook.n b/doc/ttk_notebook.n index 6b4b2bc..fe89994 100644 --- a/doc/ttk_notebook.n +++ b/doc/ttk_notebook.n @@ -184,7 +184,7 @@ containing the notebook as follows: .IP \(bu \fBControl-Tab\fR selects the tab following the currently selected one. .IP \(bu -\fBShift-Control-Tab\fR selects the tab preceding the currently selected one. +\fBControl-Shift-Tab\fR selects the tab preceding the currently selected one. .IP \(bu \fBAlt-\fIK\fR, where \fIK\fR is the mnemonic (underlined) character of any tab, will select that tab. diff --git a/library/listbox.tcl b/library/listbox.tcl index 99047f4..c7dd32e 100644 --- a/library/listbox.tcl +++ b/library/listbox.tcl @@ -120,7 +120,7 @@ bind Listbox { %W selection set 0 event generate %W <> } -bind Listbox { +bind Listbox { tk::ListboxDataExtend %W 0 } bind Listbox { @@ -130,7 +130,7 @@ bind Listbox { %W selection set end event generate %W <> } -bind Listbox { +bind Listbox { tk::ListboxDataExtend %W [%W index end] } bind Listbox <> { diff --git a/library/text.tcl b/library/text.tcl index 331d1b4..8a72152 100644 --- a/library/text.tcl +++ b/library/text.tcl @@ -128,10 +128,10 @@ bind Text <> { bind Text <> { tk::TextKeySelect %W [tk::TextNextWord %W insert] } -bind Text { +bind Text { tk::TextKeySelect %W [tk::TextPrevPara %W insert] } -bind Text { +bind Text { tk::TextKeySelect %W [tk::TextNextPara %W insert] } bind Text { diff --git a/library/tk.tcl b/library/tk.tcl index 928fc2e..2520d12 100644 --- a/library/tk.tcl +++ b/library/tk.tcl @@ -374,9 +374,9 @@ switch -exact -- [tk windowingsystem] { event add <> event add <> event add <> - event add <> + event add <> event add <> - event add <> + event add <> event add <> event add <> event add <> @@ -415,9 +415,9 @@ switch -exact -- [tk windowingsystem] { event add <> event add <> event add <> - event add <> + event add <> event add <> - event add <> + event add <> event add <> event add <> event add <> diff --git a/library/ttk/notebook.tcl b/library/ttk/notebook.tcl index d424b6c..72b85e6 100644 --- a/library/ttk/notebook.tcl +++ b/library/ttk/notebook.tcl @@ -108,7 +108,7 @@ proc ttk::notebook::enableTraversal {nb} { bind $top {+ttk::notebook::TLCycleTab %W 1} bind $top {+ttk::notebook::TLCycleTab %W -1} bind $top {+ttk::notebook::TLCycleTab %W 1} - bind $top {+ttk::notebook::TLCycleTab %W -1} + bind $top {+ttk::notebook::TLCycleTab %W -1} catch { bind $top {+ttk::notebook::TLCycleTab %W -1} } @@ -170,7 +170,7 @@ proc ttk::notebook::EnclosingNotebook {w} { } # TLCycleTab -- -# toplevel binding procedure for Control-Tab / Shift-Control-Tab +# toplevel binding procedure for Control-Tab / Control-Shift-Tab # Select the next/previous tab in the nearest ancestor notebook. # proc ttk::notebook::TLCycleTab {w dir} { -- cgit v0.12