Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## cg-host-comtab

Arguments:

Returns a comtab (command table) that contains a subset of the IDE editor keystrokes when ide:editor-mode is `:host`. This comtab could be given to a `text-edit-pane` in a Common Graphics application to provide the IDE editor's general text-editing keystrokes that are not specific to the IDE. Example:

    (setf (comtab my-text-edit-pane)(cg-host-comtab))

Below is a table of the keystrokes that are defined by this comtab as well as by cg-emacs-comtab. The symbols in the left column are functions, but most of them are not exported from the cg package for general application use (though perhaps they should be). They are listed here simply as command names that also appear in the IDE's Help | Shortcut Keys dialog.

For brief descriptions of what each of these functions does, see the documentation for the Shortcut Keys.

Function | Host Comtab | Emacs Comtab
backward-character | --- | Ctrl+B
backward-delete-line | Alt+Backspace | ---
backward-delete-sexp | Ctrl+Shft+Backspace | ---
backward-kill-line | --- | Alt+K
backward-kill-sexp | --- | Ctrl+Alt+Backspace
backward-kill-word | --- | Ctrl+Backspace Alt+Backspace Alt+H
backward-list | --- | Ctrl+Alt+P
backward-sexp | Ctrl+Alt+Left Alt+Left | Ctrl+Alt+Left Ctrl+Alt+B
backward-up-list | Ctrl+Shft+Up | Ctrl+Alt+U Ctrl+Alt+Down
backward-word | --- | Alt+B Alt+Left
beginning-of-buffer | --- | Alt+Shft+Comma
beginning-of-line | --- | Ctrl+A
beginning-of-next-definition | Alt+Down Ctrl+Alt+Down | Ctrl+Alt+Close-Square-Bracket
beginning-of-this-or-previous-definition | Alt+Up Ctrl+Alt+Up | Ctrl+Alt+Open-Square-Bracket Ctrl+Alt+A
capitalize-selection | --- | Alt+C
copy-command | Ctrl+C | Alt+W
cut-command | Ctrl+X | Ctrl+W
delete-horizontal-space | Ctrl+Slash | Ctrl+Slash
delete-indentation | --- | Ctrl+6
delete-line | Alt+Delete | ---
delete-next-character | --- | Ctrl+D
delete-previous-character | Ctrl+H | Ctrl+H
delete-sexp | Ctrl+Shft+Delete | ---
delete-surrounding-whitespace | Alt+Slash | Alt+Slash
down-list | --- | Ctrl+Alt+D
downcase-selection | --- | Alt+L
end-of-buffer | --- | Alt+Shft+Period
end-of-definition | --- | Ctrl+Alt+E
end-of-line | --- | Ctrl+E
exchange-to-mark-command | Alt+Shft+K | Ctrl+X Ctrl+X Ctrl+3
forward-character | --- | Ctrl+F
forward-list | --- | Ctrl+Alt+N
forward-sexp | Alt+Right Ctrl+Alt+Right | Ctrl+Alt+F Ctrl+Alt+Right
forward-up-list | Ctrl+Shft+Down | Ctrl+Alt+)
forward-word | --- | Alt+F Alt+Right
illegal-operation | --- | Ctrl+G Alt+G Ctrl+X Ctrl+G
insert-empty-list | Ctrl+Shft+3 | Alt+9
insert-empty-string | Ctrl+Shft+2 | Alt+Shft+2
just-one-space | Ctrl+Alt+Slash | Ctrl+Alt+Slash
kill-line | --- | Ctrl+K
kill-sexp | --- | Ctrl+Alt+K
kill-word | --- | Alt+D
mark-command | Alt+Shft+J | Ctrl+2
newline | Ctrl+Return | Return Ctrl+M Shft+Return
newline-and-indent | Return Shift+Return | Ctrl+J
next-line | --- | Ctrl+N
next-page | --- | Ctrl+V
open-line | --- | Ctrl+O
paste-command | Ctrl+V | Ctrl+Y
previous-line | --- | Ctrl+P
previous-page | --- | Alt+V
recenter | Ctrl+Space | Ctrl+L
reindent-sexp | --- | Ctrl+Alt+Q
reindent-single-line | Tab | Tab
select-all | Ctrl+A | Alt+Shft+A
select-current-sexp | Ctrl+Shft+Return | Ctrl+Shft+Return
select-to-mark-command | Alt+Shft+L | Ctrl+4
transpose-characters | Ctrl+Quote | Ctrl+T
transpose-sexp | Alt+Quote | ---
undo-command | --- | Ctrl+X Ctrl+U
upcase-selection | --- | Alt+U

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version