home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Global Amiga Experience
/
globalamigaexperience.iso
/
text_dtp
/
editor
/
turbotext
/
support
/
ttx_builtin.dfn
next >
Wrap
Text File
|
1995-07-10
|
16KB
|
389 lines
/** $VER: TTX_BuiltIn.dfn 2.0 (5.9.94)
**
** This definition file provides equivalents of TurboText's internal defaults.
**/
MENUS:
/***************************************************************************
* The MENUS section describes the menus presented by TurboText along with
* the commands associated with them.
*
* The format for the lines in this section is one of the following:
* MENU <menu name> [amigaguide help node]
* ITEM <item name> <keyboard shortcut> <command> [command parameters]
* BAR
* SUB <sub-item name> <keyboard shortcut> <command> [command parameters]
* SBAR
***************************************************************************/
MENU "Project" "TurboText:TurboText_Manual/The Project Menu"
ITEM "Open..." "O" OpenFile
ITEM "Open New..." "Y" OpenDoc FileReq
ITEM "Insert..." "" InsertFile
BAR
ITEM "Save" "S" SaveFile
ITEM "Save As..." "A" SaveFileAs
BAR
ITEM "Clear" "K" ClearFile
ITEM "Print..." "P" PrintFile
ITEM "Info..." "?" OpenRequester Info
BAR
ITEM "Read-Only" "[Ctrl]-R" SetReadOnly Toggle
BAR
ITEM "Close Window" "Q" CloseDoc
MENU "Windows" "TurboText:TurboText_Manual/The Windows Menu"
ITEM "New" "W" OpenDoc
ITEM "Activate" "" NOP
SUB "Next Document" "0" ActivateNextDoc
SUB "Previous Document" "1" ActivatePrevDoc
ITEM "Resize" "" NOP
SUB "To Maximum" "[F6]" SizeWindow 10000 10000
SUB "To Minimum" "[F7]" SizeWindow -10000 -10000
SBAR
SUB "Iconify" "[F5]" IconifyWindow Toggle
ITEM "Organize Windows" "" NOP
SUB "Stack" "[F8]" ExecARexxMacro LockInput LockDisplay TurboText:Rexx/OrganizeWindows.ttx Stack
SUB "Tile" "[F9]" ExecARexxMacro LockInput LockDisplay TurboText:Rexx/OrganizeWindows.ttx Tile
SUB "Cascade" "" ExecARexxMacro LockInput LockDisplay TurboText:Rexx/OrganizeWindows.ttx Cascade
SBAR
SUB "Iconify All" "[F10]" ExecARexxMacro LockInput LockDisplay TurboText:Rexx/OrganizeWindows.ttx Iconify
ITEM "Views" "" NOP
SUB "Split" "\" SplitView Toggle
SUB "Toggle" "T" SwitchView
SUB "Swap" "" SwapViews
SUB "Expand" ";" SizeView 1
SUB "Shrink" ":" SizeView -1
SUB "Center" "'" CenterView
BAR
ITEM "Open Hex View..." "$" OpenRequester Hex
ITEM "Open Calculator..." "#" ExecTool Async "TurboText:TTXCalc %s"
ITEM "Open TTX Shell..." "." ExecARexxMacro Console TurboText:Rexx/CmdShell.ttx
ITEM "Open DOS Shell..." "" ExecTool "NewShell CON:0/50//130/AmigaShell/SCREEN%s/CLOSE"
BAR
ITEM "Help..." "[Help]" Help "Quick Reference"
ITEM "User's Manual..." "" Help
MENU "Edit" "TurboText:TurboText_Manual/The Edit Menu"
ITEM "Mark" "B" MarkBlk
ITEM "Cut" "X" CutBlk
ITEM "Copy" "C" CopyBlk
ITEM "Paste" "V" PasteClip
ITEM "Erase" "E" DeleteBlk
BAR
ITEM "Mark Vertical" "<" MarkBlk Vertical
ITEM "Paste Vertical" ">" PasteClip Vertical
BAR
ITEM "Open Clip..." "!" OpenClip
ITEM "Save Clip As..." "@" SaveClip NoBackup
ITEM "Print Clip..." "&" PrintClip
MENU "Search" "TurboText:TurboText_Manual/The Search Menu"
ITEM "Find..." "F" OpenRequester Find
ITEM "Find Next" "N" Find
ITEM "Find & Change..." "/" OpenRequester FindChange
BAR
ITEM "Go To Line #..." "J" Move
ITEM "Go To Char #..." "" MoveChar
ITEM "Go To Last Change" "G" MoveLastChange
ITEM "Go To Auto-Bookmark" "," MoveAutomark
ITEM "Match Bracket" "[" MoveMatchBkt
BAR
ITEM "Set Bookmark" "" NOP
SUB "#1" "[Shift]-F1 " SetBookmark 1
SUB "#2" "[Shift]-F2 " SetBookmark 2
SUB "#3" "[Shift]-F3 " SetBookmark 3
SUB "#4" "[Shift]-F4 " SetBookmark 4
SUB "#5" "[Shift]-F5 " SetBookmark 5
SUB "#6" "[Shift]-F6 " SetBookmark 6
SUB "#7" "[Shift]-F7 " SetBookmark 7
SUB "#8" "[Shift]-F8 " SetBookmark 8
SUB "#9" "[Shift]-F9 " SetBookmark 9
SUB "#10" "[Shift]-F10" SetBookmark 10
ITEM "Go To Bookmark" "" NOP
SUB "#1" "[Alt]-F1 " MoveBookmark 1
SUB "#2" "[Alt]-F2 " MoveBookmark 2
SUB "#3" "[Alt]-F3 " MoveBookmark 3
SUB "#4" "[Alt]-F4 " MoveBookmark 4
SUB "#5" "[Alt]-F5 " MoveBookmark 5
SUB "#6" "[Alt]-F6 " MoveBookmark 6
SUB "#7" "[Alt]-F7 " MoveBookmark 7
SUB "#8" "[Alt]-F8 " MoveBookmark 8
SUB "#9" "[Alt]-F9 " MoveBookmark 9
SUB "#10" "[Alt]-F10" MoveBookmark 10
MENU "Macros" "TurboText:TurboText_Manual/The Macros Menu"
ITEM "Record Macro" "R" RecordMacro
ITEM "Stop Recording" "H" EndMacro
ITEM "Play Macro" "M" PlayMacro 1
ITEM "Play Many..." "I" PlayMacro
BAR
ITEM "Open Macro..." "2" OpenMacro
ITEM "Save Macro As..." "" SaveMacro
BAR
ITEM "Execute ARexx..." "3" ExecARexxMacro
MENU "Folds" "TurboText:TurboText_Manual/The Folds Menu"
ITEM "Make Fold" "(" MakeFold
BAR
ITEM "Show" "" NOP
SUB "Single" "+" ShowFold
SUB "Nested" "" ShowFold Nested
SUB "All" "" ShowFold All
ITEM "Hide" "" NOP
SUB "Single" "-" HideFold
SUB "Nested" "" HideFold Nested
SUB "All" "" HideFold All
ITEM "Unmake" "" NOP
SUB "Single" ")" UnmakeFold
SUB "Nested" "" UnmakeFold Nested
SUB "All" "" UnmakeFold All
MENU "Extras" "TurboText:TurboText_Manual/The Extras Menu"
ITEM "Undelete Line" "D" UndeleteLine
ITEM "Undo Line" "Z" UndoLine
BAR
ITEM "Center" "^" Center
ITEM "Justify" "=" Justify
ITEM "Format Paragraph" "]" FormatParagraph
BAR
ITEM "Convert To Upper Case" "U" Conv2Upper
ITEM "Convert To Lower Case" "L" Conv2Lower
ITEM "Convert Tabs To Spaces" "" Conv2Spaces
MENU "Prefs" "TurboText:TurboText_Manual/The Prefs Menu"
ITEM "Change..." "4" OpenRequester Prefs
BAR
ITEM "Open Prefs..." "" OpenPrefs
ITEM "Save Prefs As..." "" SavePrefs
ITEM "Save As Defaults" "" SaveDefPrefs
BAR
ITEM "Open Definitions..." "" OpenDefinitions
#
KEYBOARD:
/***************************************************************************
* The KEYBOARD section describes which commands are associated with which
* keyboard sequences.
*
* The format for the lines in this section is:
* <keyboard sequence> <command> [command parameters]
*
* where: <keyboard sequence> describes a complete sequence of keys to press
* to cause a command invocation. The keys can include any key found
* on your keyboard. Some keys do not represent simple characters,
* you must specify those keys using the following names:
*
* CURSOR_UP CURSOR_DOWN CURSOR_RIGHT CURSOR_LEFT
* TAB ESC DEL BACKSPACE HELP RETURN SPACEBAR
* ENTER F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12
* NP_DEL NP_DOWN NP_END NP_HOME NP_INS NP_LEFT NP_NUML
* NP_PGDN NP_PGUP NP_PRTSC NP_RIGHT NP_SCRL NP_UP
* PAGE_UP PAGE_DOWN INSERT PAUSE BREAK HOME END
*
* In addition, the following key qualifiers can be applied to any
* key:
*
* SHIFT LEFT_SHIFT RIGHT_SHIFT ALT LEFT_ALT RIGHT_ALT
* AMIGA LEFT_AMIGA RIGHT_AMIGA CTRL NUM_PAD META META2
* MODE MODE2 MODELESS NOREPEAT
*
* <command> [command parameters] can be any TurboText command
***************************************************************************/
RETURN InsertLine
ENTER InsertLine NoBreak Indent
F1 CorrectWord
F2 CompleteTemplate
F3 ToggleCharCase
F4 SwapChars
F5 IconifyWindow Toggle
F6 SizeWindow 10000 10000
F7 SizeWindow -10000 -10000
F8 ExecARexxMacro LockInput LockDisplay TurboText:Rexx/OrganizeWindows.ttx Stack
F9 ExecARexxMacro LockInput LockDisplay TurboText:Rexx/OrganizeWindows.ttx Tile
F10 ExecARexxMacro LockInput LockDisplay TurboText:Rexx/OrganizeWindows.ttx Iconify
CURSOR_UP MoveUp
CURSOR_DOWN MoveDown
CURSOR_RIGHT MoveRight
CURSOR_LEFT MoveLeft
HELP Help "Quick Reference"
HOME MoveSOF
END MoveEOF
INSERT SetPrefs Overstrike Toggle
PAGE_UP MoveUpScr
PAGE_DOWN MoveDownScr
CTRL-D ExecARexxString "Insert Date()"
CTRL-F SetPrefs FreeForm Toggle
CTRL-I SetPrefs AutoIndent Toggle
CTRL-O SetPrefs Overstrike Toggle
CTRL-Q SetQuoteMode On
CTRL-R SetReadOnly Toggle
CTRL-T ExecARexxString "Insert Time()"
CTRL-W SetPrefs WordWrap Toggle
CTRL-CURSOR_RIGHT ShiftRight
CTRL-CURSOR_LEFT ShiftLeft
CTRL-CURSOR_UP ScrollView -1 Relative
CTRL-CURSOR_DOWN ScrollView 1 Relative
CTRL-DEL DeleteLine
ALT-F1 MoveBookmark 1
ALT-F2 MoveBookmark 2
ALT-F3 MoveBookmark 3
ALT-F4 MoveBookmark 4
ALT-F5 MoveBookmark 5
ALT-F6 MoveBookmark 6
ALT-F7 MoveBookmark 7
ALT-F8 MoveBookmark 8
ALT-F9 MoveBookmark 9
ALT-F10 MoveBookmark 10
ALT-F11 MoveBookmark 11
ALT-F12 MoveBookmark 12
ALT-CURSOR_UP MoveSOF
ALT-CURSOR_DOWN MoveEOF
ALT-CURSOR_RIGHT MoveEOL
ALT-CURSOR_LEFT MoveSOL
ALT-BACKSPACE DeleteSOL
ALT-DEL DeleteEOL
SHIFT-F1 SetBookmark 1
SHIFT-F2 SetBookmark 2
SHIFT-F3 SetBookmark 3
SHIFT-F4 SetBookmark 4
SHIFT-F5 SetBookmark 5
SHIFT-F6 SetBookmark 6
SHIFT-F7 SetBookmark 7
SHIFT-F8 SetBookmark 8
SHIFT-F9 SetBookmark 9
SHIFT-F10 SetBookmark 10
SHIFT-F11 SetBookmark 11
SHIFT-F12 SetBookmark 12
SHIFT-CURSOR_UP MoveUpScr
SHIFT-CURSOR_DOWN MoveDownScr
SHIFT-CURSOR_RIGHT MoveNextWord
SHIFT-CURSOR_LEFT MovePrevWord
SHIFT-BACKSPACE DeleteSOW
SHIFT-DEL DeleteEOW
SHIFT-TAB MovePrevTabStop
#
HOT_KEYS:
/***************************************************************************
* The HOT_KEYS section describes which commands are associated with special
* "hot key" sequences. These sequences can be invoked from within any
* application, and will automatically be picked up by TurboText.
*
* The format for the lines in this section is:
* <keyboard sequence> <command> [command parameters]
*
* where: <keyboard sequence> describes a complete sequence of keys to press
* to cause a hot key command invocation. The keys can include any key
* found on your keyboard. Some keys do not represent simple
* characters, you must specify those keys using the following names:
*
* CURSOR_UP CURSOR_DOWN CURSOR_RIGHT CURSOR_LEFT
* TAB ESC DEL BACKSPACE HELP RETURN SPACEBAR
* ENTER F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12
* NP_DEL NP_DOWN NP_END NP_HOME NP_INS NP_LEFT NP_NUML
* NP_PGDN NP_PGUP NP_PRTSC NP_RIGHT NP_SCRL NP_UP
* PAGE_UP PAGE_DOWN INSERT PAUSE BREAK HOME END
*
* In addition, the following key qualifiers can be applied to any
* key:
*
* SHIFT LEFT_SHIFT RIGHT_SHIFT ALT LEFT_ALT RIGHT_ALT
* AMIGA LEFT_AMIGA RIGHT_AMIGA CTRL NUM_PAD
*
* <command> [command parameters] can be any of the TurboText
* global commands
***************************************************************************/
CTRL-ALT-A ActivateLastDoc
CTRL-ALT-O OpenDoc FileReq
CTRL-ALT-S Screen2Front
CTRL-ALT-U SetBackground Off
CTRL-ALT-W OpenDoc
#
MOUSE_BUTTONS:
/***************************************************************************
* The MOUSE_BUTTONS section describes which commands are associated with
* the six supported mouse button sequences.
*
* The format for the lines in this section is:
* <mouse sequence> <command> [command parameters]
*
* where: <mouse sequence> is one of the six available mouse sequences:
*
* LEFTMIDDLE - depress left button and click middle button
* LEFTRIGHT - depress left button and click right button
* MIDDLELEFT - depress middle button and click left button
* MIDDLERIGHT - depress middle button and click right button
* DOUBLELEFT - double click the left button
* DOUBLEMIDDLE - double click the middle button
*
* <command> [command parameters] can be any TurboText command
*
* Note that the standard Amiga mouse does not have a middle button,
* which implies the LEFTMIDDLE, MIDDLELEFT, MIDDLERIGHT and
* DOUBLEMIDDLE sequences are not available unless a special three
* button mouse is being used. Additionally, the middle mouse button
* is only supported by AmigaDOS 2.0 and beyond.
***************************************************************************/
DOUBLELEFT MarkBlk
DOUBLEMIDDLE MarkBlk Vertical
LEFTRIGHT MoveAutomark
LEFTMIDDLE MakeFold
MIDDLERIGHT ToggleFold
#
DICTIONARY:
/***************************************************************************
* The DICTIONARY section is a simple list of words used by TurboText's
* advanced Case Correction and Word Correction features. Simply enumerate
* all the words you wish to have TurboText know about, one per line.
***************************************************************************/
#
TEMPLATES:
/***************************************************************************
* The TEMPLATES section is a simple table used by TurboText's advanced
* Template completion feature. Simply list all the templates you wish
* TurboText know about, one template per line. The special character sequence
* *n is used whenever you wish to have TurboText enter a <RETURN> character
* in the template. The special character _ indicates that the cursor should
* be positioned on the following character after the template has been
* inserted.
***************************************************************************/
#
LINKS:
/***************************************************************************
* The LINKS section is a simple list of extra definition files to read
* in addition to this one. The files specified here are treated just like
* if their contents was included within this definition file directly.
* The way this operates is identical to the C programming language's
* #include directive.
***************************************************************************/
#