home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Bila Vrana
/
BILA_VRANA.iso
/
028A
/
AUROR.ZIP
/
QEKBD.AML
< prev
next >
Wrap
Text File
|
1996-07-17
|
23KB
|
623 lines
//--------------------------------------------------------------------
// The Aurora Editor v3.0, Copyright (C) 1993-1996 nuText Systems
//
// KBD.AML
// QEdit/TSE Keyboard definitions (included by Main.aml)
//
// If you have made any changes, save this file and select Recompile
// the Editor from the Set menu. Exit and re-enter the editor for
// your changes to take effect.
//--------------------------------------------------------------------
//--------------------------------------------------------------------
// Edit and File Manager windows
//--------------------------------------------------------------------
object edit_fmgr
// Controls
function '≡' // close window
close
end
// Menu activation
key <esc> gotobar // to last menu bar item (qe)
key <f10> gotobar // to last menu bar item (qe)
key <f1> gotomenu "help" // goto help pull-down menu (qe)
key <alt t> gotobar2 // to last toolbar/drive item
key <alt f> gotomenu "file" // to file menu (qe)
// Scroll
key <pgdn> pagedown // scroll down (qe)
key <pgup> pageup // scroll up (qe)
key <ctrl home> row (getviewtop) // to page top (qe)
key <ctrl end> row (getviewbot) // to page bottom (qe)
key <ctrl pgup> row 1 // to file top (qe)
key <ctrl pgdn> row (getlines) // to file bottom (qe)
key <shift f5> adjustrow // center cursor (qe)
key <f5> adjustrow 1 // scroll to page top (qe)
key <ctrl f10> adjustrow (getviewrows) // scroll to page bottom
// scroll down one line (qe)
key <ctrl z>
rollrow 1
if getrow > getviewtop then
up
end
end
// scroll up one line (qe)
key <ctrl w>
rollrow -1
if getrow < getviewbot then
down
end
end
key <ctrl up> rollrow -1 // scroll up one line (qe)
key <ctrl down> rollrow 1 // scroll down one line (qe)
key <alt f5> rollcol -1 // scroll left one col (qe)
key <alt f6> rollcol 1 // scroll right one col (qe)
key <ctrl q><p> lastpos // to last cursor position (qe)
// File
key <alt e> askopen // open prompt (qe)
key <alt 0> filelist // file list (qe)
key <ctrl k><q> close // close window (qe)
key <alt x> closeall // close all windows (qe)
key <shift f1> quickref 'qw' // quick function reference
key <shift f2> quickref 'fw' // function reference
// Window
key <ctrl o><z> maximize // maximize window (qe)
key <ctrl o><n> nextwindow // next window (qe)
key <ctrl o><p> prevwindow // prev window (qe)
key <ctrl k><q> close // close file (qe)
// close window (qe)
key <ctrl o><c>
if getwincount > 1 then
deletewin
end
tile 'v'
end
// one window (qe)
key <ctrl o><o>
while getwincount > 1 do
deletewin
end
cascade
end
// Search
key <ctrl s> askscan // file scan prompt
key <ctrl [> gotomark 't' // find top of block (qe)
key <ctrl q><b> call <ctrl [>
key <ctrl ]> gotomark 'b' // find bot of block (qe)
key <ctrl q><k> call <ctrl ]>
// Set
key <ctrl f1> togglemode // toggle video mode (qe)
key <f12> recompile // recompile the editor
// Macro
key <alt f9> askrun // Dos command prompt (qe)
key <alt f8> askruncap // Dos capture prompt
key <f9> shell // exit to Dos (qe)
key <shift f12> pickmacro // macro picklist
key <ctrl f12> runmacro2 "maclist" // macro menu
// undefined or unnamed keys
key <otherkey> (keycode)
say (geteventname (keycode)) + " not defined"
end
//--------------------------------------------------------------------
// Prompts and Edit windows
//--------------------------------------------------------------------
object prompt
// Controls
function '≡' close // close window
end
function '*' enter // simulate <enter>
end // (2-line box only)
// Cursor
key <left> left // move cursor left (qe)
key <right> right // move cursor right (qe)
key <home> col 1 // to column one (qe)
key <end> col getlinelen + 1 // to end of line (qe)
// Cursor + CUA-marking
key <shift left> left
smark
key <shift right> right
smark
key <shift home> col 1
smark
key <shift end> col getlinelen + 1
smark
// Scroll
key <f7> rollcol -(getviewcols - 1) // page left
key <f8> rollcol getviewcols - 1 // page right
// Editing
key <ins> setting 'I' TOGGLE // toggle insert mode (qe)
key <del> delchar // delete character (qe)
key <backspace> backsp // delete left character (qe)
key <f6> delchar MAX_COL // erase to end of line (qe)
key <alt del> call <f6>
key <ctrl p> literal // enter literal character (qe)
key <ctrl a> asciilist // display ascii chart (qe)
// Block
key <alt a> markchar // mark stream (qe)
key <alt k> markcolumn // mark column (qe)
key <ctrl k><t> markword // mark word (qe)
key <alt 2> markeol // mark to end of line
key <alt u> destroymark // unmark (qe)
// copy block to prompt (qe)
key <alt c>
instext (getmarktext)
col getlinelen + 1
// paste from clipboard to prompt (qe)
key <grey*>
oldmark = usemark _ClipName
instext (getmarktext)
usemark oldmark
col getlinelen + 1
// copy from prompt to clipboard (qe)
key <grey+> copy
// Prompt history
key <up> prevhist // retrieve prev prompt
key <down> nexthist // retrieve next prompt
key <pgup> askhistory // history popup menu
key <pgdn> askhistory // history popup menu
// Exit
key <esc> close // quit prompt (qe)
key <ctrl k><q> call <esc>
// non-function keys
key <char> (character) // typeable keys
write character
end
// filename completion
key <ctrl tab> askcomplete // filename completion
key <tab> askcomplete // filename completion (qe)
//--------------------------------------------------------------------
// Edit windows
//--------------------------------------------------------------------
object edit
// Controls
function '≡'
close // close window
end
// Menu
key <esc> gotobar // to last menu bar item (qe)
// Cursor
key <up> up // move cursor up (qe)
key <down> down // move cursor down (qe)
// Cursor + CUA-marking
key <shift up> up
smark
key <shift down> down