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
This commit is contained in:
Nick Treleaven 2006-07-16 15:33:14 +00:00
parent 4300a7496a
commit 2032b6b7aa
3 changed files with 205 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2006-07-16 Nick Treleaven <nick.treleaven@btinternet.com>
* 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 <enrico.troeger@uvena.de>
* src/keybindings.c, src/sci_cb.c:

View File

@ -9,6 +9,7 @@
<!ENTITY author_mail "enrico.troeger@uvena.de">
<!ENTITY date "July 01, 2006">
<!ENTITY legal SYSTEM "geany_gpl.docbook">
<!ENTITY scikeybinding SYSTEM "scikeybinding.docbook">
]>
<book lang="en">
@ -94,7 +95,7 @@
</para>
<para>
The included Scintilla library (found in the subdirectory scintilla/) has its own
license, which can be found in the appendix(see <xref linkend="scintilla-license"/>).
license, which can be found in the appendix (see <xref linkend="scintilla-license"/>).
</para>
</section>
</chapter>
@ -843,7 +844,13 @@
<section id="keybindings">
<title>Keybindings</title>
<para>
For all listed actions you can define your own keybindings. Open the preferences
<application>&app;</application> supports the default keyboard shortcuts for the
Scintilla editing widget. For a list of these commands, see
<xref linkend="scikeybinding"/>. The Scintilla keyboard shortcuts will be
overridden by any custom keybindings with the same keyboard shortcut.
</para>
<para>
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 @@
<keycombo><keycap>Alt</keycap><keycap>O</keycap></keycombo>.
</para>
<para>
The following table lists all available actions for keyboard shortcuts.
The following table lists all customizable keyboard shortcuts.
</para>
<para>
<table frame="all">
@ -1548,6 +1555,9 @@
</section>
</chapter>
<!-- Sci default keys appendix -->
&scikeybinding;
<!-- GPL appendix -->
&legal;

185
doc/scikeybinding.docbook Normal file
View File

@ -0,0 +1,185 @@
<appendix id="scikeybinding">
<appendixinfo>
<title>Scintilla keyboard commands</title>
<pubdate>20 June 2006</pubdate>
<copyright>
<year>1998, 2006</year>
<holder>Neil Hodgson &lt;neilh@scintilla.org&gt;</holder>
</copyright>
<legalnotice>
<para>
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 <xref linkend="scintilla-license"/>.
</para>
</legalnotice>
</appendixinfo>
<title>Scintilla keyboard commands</title>
<sect1>
<title>
Keyboard commands
</title>
<para>
<!-- Scintilla release 1.70, 20 June 2006 -->
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:
</para>
<para>
<table frame="all">
<title>Scintilla keyboard commands</title>
<tgroup cols="2">
<?dbhtml cellpadding="4" ?>
<?dbhtml cellspacing="0" ?>
<colspec colnum="1" colname="col1"/>
<colspec colnum="2" colname="col2"/>
<spanspec spanname="hspan" namest="col1" nameend="col2" align="center"/>
<thead>
<row>
<entry>Action</entry>
<entry>Shortcut key</entry>
</row>
</thead>
<tbody>
<row>
<entry>Magnify text size.</entry><entry>Ctrl+Keypad+</entry>
</row>
<row>
<entry>Reduce text size.</entry><entry>Ctrl+Keypad-</entry>
</row>
<row>
<entry>Restore text size to normal.</entry><entry>Ctrl+Keypad/</entry>
</row>
<!--
<row>
<entry>Cycle through recent files.</entry><entry>Ctrl+Tab</entry>
</row>
-->
<row>
<entry>Indent block.</entry><entry>Tab</entry>
</row>
<row>
<entry>Dedent block.</entry><entry>Shift+Tab</entry>
</row>
<row>
<entry>Delete to start of word.</entry><entry>Ctrl+BackSpace</entry>
</row>
<row>
<entry>Delete to end of word.</entry><entry>Ctrl+Delete</entry>
</row>
<row>
<entry>Delete to start of line.</entry><entry>Ctrl+Shift+BackSpace</entry>
</row>
<row>
<entry>Delete to end of line.</entry><entry>Ctrl+Shift+Delete</entry>
</row>
<row>
<entry>Go to start of document.</entry><entry>Ctrl+Home</entry>
</row>
<row>
<entry>Extend selection to start of document.</entry><entry>Ctrl+Shift+Home</entry>
</row>
<row>
<entry>Go to start of display line.</entry><entry>Alt+Home</entry>
</row>
<row>
<entry>Extend selection to start of display line.</entry><entry>Alt+Shift+Home</entry>
</row>
<row>
<entry>Go to end of document.</entry><entry>Ctrl+End</entry>
</row>
<row>
<entry>Extend selection to end of document.</entry><entry>Ctrl+Shift+End</entry>
</row>
<row>
<entry>Go to end of display line.</entry><entry>Alt+End</entry>
</row>
<row>
<entry>Extend selection to end of display line.</entry><entry>Alt+Shift+End</entry>
</row>
<!--
<row>
<entry>Expand or contract a fold point.</entry><entry>Ctrl+Keypad*</entry>
</row>
<row>
<entry>Create or delete a bookmark.</entry><entry>Ctrl+F2</entry>
</row>
<row>
<entry>Go to next bookmark.</entry><entry>F2</entry>
</row>
<row>
<entry>Select to next bookmark.</entry><entry>Alt+F2</entry>
</row>
-->
<row>
<entry>Find selection.</entry><entry>Ctrl+F3</entry>
</row>
<row>
<entry>Find selection backwards.</entry><entry>Ctrl+Shift+F3</entry>
</row>
<row>
<entry>Scroll up.</entry><entry>Ctrl+Up</entry>
</row>
<row>
<entry>Scroll down.</entry><entry>Ctrl+Down</entry>
</row>
<row>
<entry>Line cut.</entry><entry>Ctrl+L</entry>
</row>
<row>
<entry>Line copy.</entry><entry>Ctrl+Shift+T</entry>
</row>
<row>
<entry>Line delete.</entry><entry>Ctrl+Shift+L</entry>
</row>
<row>
<entry>Line transpose with previous.</entry><entry>Ctrl+T</entry>
</row>
<row>
<entry>Selection duplicate.</entry><entry>Ctrl+D</entry>
</row>
<!--
<row>
<entry>Find matching preprocessor conditional, skipping nested ones.</entry><entry>Ctrl+K</entry>
</row>
<row>
<entry>Select to matching preprocessor conditional.</entry><entry>Ctrl+Shift+K</entry>
</row>
<row>
<entry>Find matching preprocessor conditional backwards, skipping nested ones.</entry><entry>Ctrl+J</entry>
</row>
<row>
<entry>Select to matching preprocessor conditional backwards.</entry><entry>Ctrl+Shift+J</entry>
</row>
-->
<row>
<entry>Previous paragraph. Shift extends selection.</entry><entry>Ctrl+[</entry>
</row>
<row>
<entry>Next paragraph. Shift extends selection.</entry><entry>Ctrl+]</entry>
</row>
<row>
<entry>Previous word. Shift extends selection.</entry><entry>Ctrl+Left</entry>
</row>
<row>
<entry>Next word. Shift extends selection.</entry><entry>Ctrl+Right</entry>
</row>
<row>
<entry>Previous word part. Shift extends selection</entry><entry>Ctrl+/</entry>
</row>
<row>
<entry>Next word part. Shift extends selection.</entry><entry>Ctrl+\</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</sect1>
</appendix>