Keyboard.wsp
author Claus Gittinger <cg@exept.de>
Fri, 25 Sep 2009 15:35:22 +0200
changeset 1066 faf62feb4c58
parent 1064 b9986ee1ff44
child 1107 20bf29323b08
permissions -rw-r--r--
*** empty log message ***

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

Attention: Recent Changes:
==========================
F2      Was changed from CodeCompletion to Rename (for win32 compatibility);
	If you don't like that, see&edit the keyboard.rc file.
	CTRL-SPACE still works for completion.

Notice1:
    for most systems: the CMD-key is mapped to the left ALT-key.

Notice2:
    case matters; CMD-a is different from CMD-A  (CMD-Shift-a)
    case matters; Ctrl-a is different from Ctrl-A  (Ctrl-Shift-a)

Notice3:
    the settings are defined during startup, by reading the
    file: 'keyboard.rc' - if you don't like the settings, change them !

For Smalltalkers, the most useful key first:
    CTRL-c (unix) or Pause/Break (win) is: "interrupt & enter debugger"

Default Functionkey mapping (see 'keyboard.rc' for details):
============================================================

Unix    Windows         Function
----------------------------------------------------------------------------------------
CMD-a   CTRL-s          Accept / Save (compile or save)
CMD-b   CTRL-b          Backward search (selection or previous search pattern)
CMD-c   CTRL-c          Copy
CMD-d   CTRL-d          DoIt (evaluate selection)

CMD-f                   Forward search (selection or previous search pattern)
CMD-g   CTRL-g          Goto lineNumber
CMD-h   F1              Help (= explain)
CMD-i   CTRL-q          InspectIt
CMD-m   CMD-m           select up to Matching parenthesis
CMD-p   CTRL-p          PrintIt (evaluate selection and paste result)
CMD-r   CTRL-r          Replace
CMD-s   CTRL-f          Search (open search dialog)
CMD-u   CTRL-u          undo
CMD-v   CTRL-v          paste
CMD-w   CMD-w           select Word under cursor
CMD-x   CTRL-x          cut
CMD-z   CMD-z           popUpMenu

CTRL-z                  undo
CTRL-y                  redo

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

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

CMD-.                   interrupt - enter debugger
BREAK                   interrupt - enter debugger
CTRL-BREAK              interrupt - abort operation. do not enter debugger

CTRL-Tab                backtab
Shift-Tab               non-inserting tab (cursor movement only)
Shift-Return            non-inserting return (cursor movement only)

HOME     HOME           goto begin of line
POS1     POS1           goto begin of line
END      END            goto end of line

Ctrl-HOME  Ctrl-HOME    goto begin of page/text (press twice for begin of text)
Ctrl-POS1  Ctrl-POS1    goto begin of page/text (press twice for begin of text)
Ctrl-END   Ctrl-END     goto end of page/text (press twice for end of text)

Shift-HOME Shift-HOME   select from begin of line
Shift-POS1 Shift-POS1   select from begin of line
Shift-END  Shift-END    select to end of line

CTRL-W   CTRL-W         forward to end-of this / begin of next word
CTRL-w   CTRL-w         forward to begin next word
CTRL-l   CTRL-l         expand selection by one line / select line

CTRL-A   CTRL-A         select from begin of text
CTRL-E   CTRL-E         select from end of text
CTRL-X   CTRL-X         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

CTRL-SPACE              CodeCompletion (in the browser only)
ALT-SPACE               Insert Abbreviation (try <ALT-SPACE> behind the string 'it')

F2       F2             Rename (used to be: CodeCompletion)
F3       F3             Comment selection
F4       F4             Uncomment Selection
F6       F6             Selection to Lowercase/Uppercase/LowerCaseFirst (toggle through)
CTRL-F6  CTRL-F6        Selection to UpperCase
F8       F8             Again (repeat last cut/replace)
F9       F9             Undent by 4
F10      F10            Indent by 4
F11      F11            Undent by 1
F12      F12            Indent by 1

PageUp   PageUp         backward one page
PageDown PageDown       forward one page

Insert   Insert         Paste
Delete   Delete         Delete the selection
Shift-Delete            Delete followup spaces up to the next non-space


Notice4: You can add your own keyboard macros and/or change the shortKey
	 mapping by modifying the file 'keyboard.rc'


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

There is a virtual keyboard found on the popUpMenu, under "others"-"others"-"special keys".
Keep this view open, beside your editor and click on a character to insert it.


Unix only:
==========
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 `
and the german ä (umlaut-a) is entered as:
    COMPOSE a "

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

Alternatively, special characters can be copy/pasted from the following list:
(Notice: you can also use a font-display via the text-editors
    'more'-'tools'-'specialCharacters'
 menu to insert any special character)

    acute:
	Á É Í Ó Ú Ý     á é í ó ú ý    [ Compose <char> ' ]
    grave:
	À È Ì Ò Ù       à è ì ò ù      [ Compose <char> ` ]
    circumflex:
	Â Ê Î Ô Û       â ê î ô û      [ Compose <char> ^ ]
    tilde:
	Ã Õ Ñ           ã õ ñ          [ Compose <char> ~ ]
    dieresis:
	Ä Ë Ï Ö Ü       ä ë ï ö ü ÿ    [ Compose <char> " ]
    slash:
	Ø ø                            [ Compose <char> / ]
    ring:
	Å å                            [ Compose <char> * ]
    cedille:
	Ç ç                            [ Compose <char> , ]
    ligatures:
	ß Æ æ                          [ Compose <char1> <char1> ]
    others:
	Ð Þ þ ð × ÷ ± µ ¬ « » ° º ¹ ² ³ ¼ ½ ¾
    misc:
	[ ] ~ @ { } | \ © ®

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