From 2032b6b7aaa2a6bc59fc1754f72ee95622563d81 Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Sun, 16 Jul 2006 15:33:14 +0000 Subject: [PATCH] Added Scintilla keyboard commands appendix taken from the SciTE documentation section 'Keyboard Commands' git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@566 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 7 ++ doc/geany.docbook | 16 +++- doc/scikeybinding.docbook | 185 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 205 insertions(+), 3 deletions(-) create mode 100644 doc/scikeybinding.docbook diff --git a/ChangeLog b/ChangeLog index 636ccbfdb..b2b888b47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-07-16 Nick Treleaven + + * doc/scikeybinding.docbook, doc/geany.docbook: + Added Scintilla keyboard commands appendix taken from the SciTE + documentation section 'Keyboard Commands'. + + 2006-07-15 Enrico Tröger * src/keybindings.c, src/sci_cb.c: diff --git a/doc/geany.docbook b/doc/geany.docbook index 6ff91f722..4f20fcdda 100644 --- a/doc/geany.docbook +++ b/doc/geany.docbook @@ -9,6 +9,7 @@ + ]> @@ -94,7 +95,7 @@ The included Scintilla library (found in the subdirectory scintilla/) has its own - license, which can be found in the appendix(see ). + license, which can be found in the appendix (see ). @@ -843,7 +844,13 @@
Keybindings - For all listed actions you can define your own keybindings. Open the preferences + &app; supports the default keyboard shortcuts for the + Scintilla editing widget. For a list of these commands, see + . The Scintilla keyboard shortcuts will be + overridden by any custom keybindings with the same keyboard shortcut. + + + For all actions listed below you can define your own keybindings. Open the Preferences dialog, select the desired action and click on change. In the opening dialog you can press any key combination you want and it will be saved when you press OK. You can define only one key combination for one action. @@ -859,7 +866,7 @@ AltO. - The following table lists all available actions for keyboard shortcuts. + The following table lists all customizable keyboard shortcuts. @@ -1548,6 +1555,9 @@ + + &scikeybinding; + &legal; diff --git a/doc/scikeybinding.docbook b/doc/scikeybinding.docbook new file mode 100644 index 000000000..5f2b0c161 --- /dev/null +++ b/doc/scikeybinding.docbook @@ -0,0 +1,185 @@ + + + Scintilla keyboard commands + 20 June 2006 + + 1998, 2006 + Neil Hodgson <neilh@scintilla.org> + + + + This appendix is distributed under the terms of the Scintilla License. + A copy of this license can be found in the file scintilla/License.txt + included with the source code of this + program and in the appendix of this document. + See . + + + + Scintilla keyboard commands + + + Keyboard commands + + + + Keyboard commands for Scintilla mostly follow common Windows and GTK+ conventions. + All move keys (arrows, page up/down, home and end) + allows to extend or reduce the stream selection when holding the Shift key, + and the rectangular selection when holding the Shift and Alt keys. + Some keys may not be available with some national keyboards or because + they are taken by the system such as by a window manager on GTK+. + Keyboard equivalents of menu commands are listed in the menus. + Some less common commands with no menu equivalent are: + + +
+ Scintilla keyboard commands + + + + + + + + + Action + Shortcut key + + + + + Magnify text size.Ctrl+Keypad+ + + + Reduce text size.Ctrl+Keypad- + + + Restore text size to normal.Ctrl+Keypad/ + + + + Indent block.Tab + + + Dedent block.Shift+Tab + + + Delete to start of word.Ctrl+BackSpace + + + Delete to end of word.Ctrl+Delete + + + Delete to start of line.Ctrl+Shift+BackSpace + + + Delete to end of line.Ctrl+Shift+Delete + + + Go to start of document.Ctrl+Home + + + Extend selection to start of document.Ctrl+Shift+Home + + + Go to start of display line.Alt+Home + + + Extend selection to start of display line.Alt+Shift+Home + + + Go to end of document.Ctrl+End + + + Extend selection to end of document.Ctrl+Shift+End + + + Go to end of display line.Alt+End + + + Extend selection to end of display line.Alt+Shift+End + + + + Find selection.Ctrl+F3 + + + Find selection backwards.Ctrl+Shift+F3 + + + Scroll up.Ctrl+Up + + + Scroll down.Ctrl+Down + + + Line cut.Ctrl+L + + + Line copy.Ctrl+Shift+T + + + Line delete.Ctrl+Shift+L + + + Line transpose with previous.Ctrl+T + + + Selection duplicate.Ctrl+D + + + + Previous paragraph. Shift extends selection.Ctrl+[ + + + Next paragraph. Shift extends selection.Ctrl+] + + + Previous word. Shift extends selection.Ctrl+Left + + + Next word. Shift extends selection.Ctrl+Right + + + Previous word part. Shift extends selectionCtrl+/ + + + Next word part. Shift extends selection.Ctrl+\ + + + +
+
+ +