home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Bila Vrana
/
BILA_VRANA.iso
/
028A
/
AUROR.ZIP
/
AUKBD.AML
< prev
next >
Wrap
Text File
|
1996-07-17
|
20KB
|
492 lines
//--------------------------------------------------------------------
// The Aurora Editor v3.0, Copyright (C) 1993-1996 nuText Systems
//
// KBD.AML
// Aurora 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
key <f10> gotobar // to last menu bar item
key <alt f10> gotomenu // goto last pull-down menu
key <f1> gotomenu "help" // to help menu
key <alt t> gotobar2 // to last toolbar/drive item
// Scroll
key <pgdn> pagedown // scroll down
key <pgup> pageup // scroll up
key <ctrl home> row (getviewtop) // to page top
key <ctrl end> row (getviewbot) // to page bottom
key <ctrl pgup> row 1 // to file top
key <ctrl pgdn> row (getlines) // to file bottom
key <center> adjustrow // center cursor
key <ctrl f9> adjustrow 1 // scroll to page top
key <ctrl f10> adjustrow (getviewrows) // scroll to page bottom
key <ctrl up> rollrow -1 // scroll up one line
key <ctrl down> rollrow 1 // scroll down one line
key <ctrl -> lastpos // to last cursor position
// File
key <ctrl n> opennew // new edit window
key <alt e> askopen // open prompt
key <alt z> openlast // open last window
key <alt -> filelist // file list
key <alt q> close // close window
key <alt x> closeall // close all windows
key <shift f1> quickref 'qw' // quick function reference
key <shift f2> quickref 'fw' // function reference
// Window
key <alt w> winlist // window list
key <ctrl z> maximize // maximize window
key <ctrl a> nextwindow // next window
key <f12> prevwindow // prev window
key <shift f3> tile 'v' // tile vertical
key <shift f4> tile 'h' // tile horizontal
key <shift f5> cascade // cascade
key <ctrl k><q> close // close window
// Search
key <ctrl s> askscan // file scan prompt
key <ctrl b> gotomark 't' // find top of block
key <ctrl 6> cyclebook // cycle through bookmarks
// Print
key <ctrl p> print // print
key <alt p> print 'b' // print block
// Set
key <ctrl f1> togglemode // toggle video mode
key <alt f2> recompile // recompile the editor
// Macro
key <ctrl v> askeval // macro command prompt
key <alt f9> askrun // Dos command prompt
key <alt f8> askruncap // Dos capture prompt
key <f9> shell // exit to Dos
key <shift f12> pickmacro // macro picklist
key <ctrl f12> runmacro2 "maclist" // macro menu
// Other
key <alt f5> opencfg "tran" // edit translation table
// 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
key <right> right // move cursor right
key <home> col 1 // to column one
key <end> col getlinelen + 1 // to end of line
// 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
key <del> delchar // delete character
key <backspace> backsp // delete left character
key <f6> delchar MAX_COL // erase to end of line
key <alt f6> // erase to beginning of line
ovltext '':getcol 1
end
key <ctrl [> literal // enter literal character
key <alt => asciilist // display ascii chart
// Block
key <alt a> markchar // mark character
key <alt b> markcolumn // mark column
key <alt 1> markword // mark word
key <alt 2> markeol // mark to end of line
key <alt u> destroymark // unmark
// copy block to prompt
key <alt c>
instext (getmarktext)
col getlinelen + 1
end
// paste from clipboard to prompt
key <grey*>
oldmark = usemark _ClipName
instext (getmarktext)
usemark oldmark
col getlinelen + 1
end
key <shift ins> call <grey*>
// copy from prompt to clipboard
key <grey+> copy
key <ctrl ins> 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
key <alt q> close // quit prompt
// non-function keys
key <char> (character) // typeable keys
write character
end
// filename completion
key <ctrl tab> askcomplete // filename completion
key <tab> askcomplete // filename completion
//--------------------------------------------------------------------
// Edit windows
//--------------------------------------------------------------------
object edit
// Controls
function '≡'
close // close window
end
// Menu
key <esc> gotobar // to last menu bar item
// Cursor
key <up> up // move cursor up
key <down> down // move cursor down
// Cursor + CUA-marking
key <shift up> up
smark
key <shift down> down
smark
key <enter> enter // enter key
key <greyenter> enter // keypad enter key
key <del>