home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Bila Vrana
/
BILA_VRANA.iso
/
028A
/
AUROR.ZIP
/
MEKBD.AML
< prev
next >
Wrap
Text File
|
1996-07-17
|
23KB
|
573 lines
//--------------------------------------------------------------------
// The Aurora Editor v3.0, Copyright (C) 1993-1996 nuText Systems
//
// KBD.AML
// Multi-Edit 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 (me)
key <f10> gotobar // to last menu bar item (me)
key <alt f10> gotomenu // goto last pull-down menu
key <alt f> gotomenu "file" // to file menu (me)
key <alt w> gotomenu "window" // to window menu (me)
key <alt b> gotomenu "block" // to block menu (me)
key <alt s> gotomenu "search" // to search menu (me)
key <alt o> gotomenu "fold" // to fold menu
key <alt e> gotomenu "edit" // to edit menu (me)
key <alt c> gotomenu "clip" // to clipboard menu
key <alt p> gotomenu "print" // to print menu
key <alt t> gotomenu "set" // to set menu
key <alt m> gotomenu "macro" // to macro menu (me)
key <alt h> gotomenu "help" // to help menu (me)
key <f1> gotomenu "help" // to help menu (me)
// Scroll
key <pgdn> pagedown // scroll down (me)
key <pgup> pageup // scroll up (me)
key <ctrl pgup> row (getviewtop) // to page top (me)
key <ctrl pgdn> row (getviewbot) // to page bottom (me)
key <ctrl home> row 1 // to file top (me)
key <ctrl end> row (getlines) // to file bottom (me)
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 (me)
key <ctrl down> rollrow 1 // scroll down one line (me)
key <ctrl -> lastpos // to last cursor position
// File
key <ctrl n> opennew // new edit window
key <f3> askopen // open prompt (me)
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 <ctrl q><f2> quickref 'fw' // function reference
// Window
key <ctrl f6> winlist // window list (me)
key <alt f6> maximize // maximize window (me)
key <alt up> maximize // maximize window (me)
key <alt down> minimize // minimize window (me)
key <f6> nextwindow // next window (me)
key <alt right> nextwindow // next window (me)
key <shift f6> prevwindow // prev window (me)
key <alt left> prevwindow // prev window (me)
key <shift f3> tile 'v' // tile vertical
key <shift f4> tile 'h' // tile horizontal
key <ctrl k><q> close // close window
// Search
key <ctrl f> askscan // file scan prompt (me)
key <ctrl e> gotomark 't' // find top of block (me)
key <ctrl c> gotomark 'b' // find bot of block (me)
key <ctrl 6> cyclebook // cycle through bookmarks
// Print
key <ctrl p> print // print
// Set
key <ctrl f1> togglemode // toggle video mode
key <ctrl k><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
// 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 (me)
key <right> right // move cursor right (me)
key <home> col 1 // to column one (me)
key <end> col getlinelen + 1 // to end of line (me)
// 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
// Editing
key <ins> setting 'I' TOGGLE // toggle insert mode
key <del> delchar // delete character (me)
key <backspace> backsp // delete left character (me)
key <ctrl del> // erase to end of line (me)
if shiftkey? then
delchar MAX_COL
end
end
key <alt => asciilist // display ascii chart
// Block
key <ctrl f7> markstream // mark stream (me)
key <shift f7> markcolumn // mark column (me)
key <alt 1> markword // mark word
key <alt 2> markeol // mark to end of line
key <alt u> destroymark // unmark
// copy block to prompt (me)
key <f8>
instext (getmarktext)
col getlinelen + 1
// paste from clipboard to prompt (me)
key <greyenter>
oldmark = usemark _ClipName
instext (getmarktext)
usemark oldmark
col getlinelen + 1
// copy from prompt to clipboard (me)
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 w