Keyboard.wsp
author Claus Gittinger <cg@exept.de>
Mon, 13 Oct 2003 16:19:55 +0200
changeset 562 05e64cbccb75
parent 561 18a5950a1d22
child 584 8b447a63eb9a
permissions -rw-r--r--
*** empty log message ***

Keyboard ShortCuts reference:
=============================
(see also the HTML online documentation, or the Launchers-Settings-Keyboard menu).


Notice1: 
    for most systems: the CMD-key is mapped to the left ALT-key.
    for WINDOWS: it is mapped to the CTRL-key.
Notice2: 
    case matters; CMD-a is different from CMD-A  (CMD-Shift-a)
Notice3: 
    the settings are defined during startup, by reading the
    file: 'keyboard.rc' - if you dont like the settings, change them !

In the table below, 
    (1) means: CTRL-<char> under windows.
    (2) means: not available as keyboard shortCut under windows.

CMD-a     (1)    Accept (compile or save)
CMD-b     (1)    Backward search (last pattern backward)
CMD-c     (1)    Copy
CMD-d     (1)    DoIt
CMD-e     (1)    ExplainIt
CMD-f     (1)    Forward search (last pattern forward)
CMD-g     (1)    Goto lineNumber
CMD-h     (1)    Help (= explain)
CMD-i     (1)    InspectIt
CMD-m     (1)    select up to Matching parenthesis
CMD-p     (1)    PrintIt
CMD-r     (1)    Replace
CMD-s     (1)    Search (open search dialog)
CMD-v     (1)    paste 
CMD-w     (1)    select Word under cursor
CMD-x     (1)    cut
CMD-z     (1)    popUpMenu

CMD-A     (1)    select All
CMD-B     (1)    BrowseIt
CMD-L     (1)    enter/leave Learn-macro mode (CMD-M to replayMacro)
CMD-M     (1)    execute keyboard Macro (CMD-L to learn)
CMD-S     (1)    Save as (a file)

CMD-Tab          focus next (unless eaten by windowManager)
CMD-CRSR-x       focus next/previous (unless eaten by windowManager)

CTRL-a    (2)    goto begin of line
CTRL-b    (2)    backward one page
CTRL-c    (2)    interrupt - enter debugger
CTRL-d    (2)    down half a page
CTRL-e    (2)    goto end of line
CTRL-f    (2)    forward one page
CTRL-l           expand selection by one line
CTRL-m           search matching parenthesis
CTRL-u    (2)    up half a page
CTRL-w           forward to next word
CTRL-x    (2)    delete a line (cursor line)
CTRL-y           interrupt - abort operation. do not enter debugger


CTRL-A           select from begin of text
CTRL-E           select from end of text
CTRL-Home (2)    goto begin of page/text
CTRL-End  (2)    goto end of page/text
CTRL-Tab  (2)    toggle 4/8 tabs (unless eaten by windowManager)
CTRL-X    (2)    flush (trow away) typeahead input

CTRL-2           enclose the selected text in parenthesis / remove parenthesis
CTRL-9           enclose the selected text in parenthesis / remove parenthesis

F1               Again (repeat last cut/replace)
F2               Code Completion (in new browser only) - experimental     
F3               Comment selection      
F4               Uncomment Selection
F5               Paste unix-shell output (disabled)
F6               Selection to UpperCase-first words
F7               Selection to LowerCase
F9               Undent by 4
F10              Indent by 4
F11              Undent by 1
F12              Indent by 1

PageUp           backward one page
PageDown         forward one page
Home             begin of line
Shift-Home       begin of text
End              end of line
Shift-End        end of text

Insert           Paste
Home             Cursor Home
Shift-Home       Cursor to begin of text
End              Cursor to end of line
Shift-End        Cursor to end of text

CTRL(right)      Compose (try:  <Compose> <"> <a> )



Under Windows, the some keys are different:

F1               Help/Explain
F8               Again (repeat last cut/replace)
Pause/Break      interrupt - enter debugger




Notice3: we will change CMD- to CTRL- for compatibility with other systems.
	 Be prepared.
Notice4: You can add your own keyboard macros and/or change the shortKey
	 mapping by modifying the file 'keyboard.rc'


Special (national) Characters:
==============================

The right CTRL-key is used as a Compose key 
(this can be changed in the "keyboard.rc" file).
Composed national characters are entered as a 3-character sequence:
    COMPOSE key1 key2 
press them in sequence - not at the same.
For example, the french e-accentGrave is entered as:
    COMPOSE e `

A full list is found in the Method "WindowSensor initializeComposeKeyTable".

Alternatively, special characters can be copy/pasted from the following list:
    
    acute:
	Á É Í Ó Ú Ý á é í ó ú ý
    grave:
	À È Ì Ò Ù à è ì ò ù
    circumflex:
	Â Ê Î Ô Û â ê î ô û
    tilde:
	Ã Õ Ñ ã õ ñ
    cedille:
	Ç ç
    dieresis:
	Ä Ë Ï Ö Ü ä ë ï ö ü ÿ
    slash:
	Ø ø
    ring:
	Å å
    ligatures:
	ß Æ æ
    others:
	Ð Þ þ ð × ÷ « » ² ³
    misc:
	[ ] ~ @ { } | \

---------------------------------------------------------------------------------------------------------
This Documents Version: $Revision$