home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 1B
/
DATAFILE_PDCD1B.iso
/
_gutenburg
/
gutenberg
/
etext90
/
_stronged
/
stronged
/
helpdata
next >
Wrap
Text File
|
1994-10-26
|
42KB
|
1,237 lines
Help on StrongED
#colour 4,1,7,8
#draw 8,8 !hand
#indent 30
• <What is StrongED ?=>WhatIs>
• <Modes>
• <Keyboard layout=>keyboard>
• <Mouse control=>mouse>
• <Advanced search=>advancedsyntax>
• <Keyboard functions=>function>
• <Known bugs/oddities=>bug>
• <Credits>
• <Address>
#indent 0
© Guttorm Vik 1994. StrongED is Shareware, so send me a tenner!Modes
Modes are central to the way StrongED works. Each mode has its own
set of attributes, and can have its own <keyboard mapping=>keydef>.
Which mode a text should use, is decided by the <ModeWhen> file.
If this doesn't find a mode, the BaseMode is used.
When a keypress is looked up to find which functions should be
executed, it is first looked up in the keydef for the text's mode.
If it is not found there, it is looked up in the BaseMode's keydef.
Finally it is looked up in the Global keydef.
The keydef for the BaseMode contains all the standard editing
functions, while the keydefs for the other modes contain special
functions for these modes. (BASIC has the function RunBasic on F10)
The BaseMode file also contains other special keydefs
(like the 'pseudo modes' CopyCursor and TaskWindow..)
All modes but the BaseMode, lies in the Modes directory, or in
Modes.Autoload if they should be loaded at startup. Some of the
mode-files present are empty, but they have to exist in order for
StrongED to recognise that the mode itself exist..Keyboard Mapping
Which keys should execute which functions is completely
redefinable in StrongED
A keystroke can consist of one to three <keypresses=>keydef2>, and
can also be given a number specifying how many times it
should be pressed before the <function> is executed :
^Right 1 EndOfWLine
^Right 2 EndOfTLine
The first time control-right arrow is pressed, the caret
is moved to the end of the wrapline, and the next time
it is moved to the end of the entire textline..
One example of multiple keys in a keystroke is this, from
the BaseMode :
^D,^D DateAndTime ("%DY%MN%YR")
^D,^T DateAndTime ("%24:%MI")
^D,^W DateAndTime ("%WK")
Note that the first key have to be a control/function key,
but the second and third can be normal chars..
( ^X,^X ^X,X and ^X,x are all allowed and different..)
This, incidentally, also shows that some of the available
functions can take parameters.Keypress
The syntax of one keypress is :
[c|s|cs|sc -] keyname (c stands for ctrl, s for shift)
Keynames are :
Left Right Down Up PgDown
PgUp Insert Print Tab Copy
F1 to F11 single char
Backspace Delete Return Home ESCAvailable functions
This is a list of all available keyboard functions, and their parameters.
#prefix fn_
#Table 29 21
<BlockClear>
<BlockCopy>
<BlockDelete>
<BlockMark_Continous>
<BlockMark_ESC>
<BlockMark_Standard>
<BlockMove>
<CaretDown=>fn_caretDLRU>
<CaretLeft=>fn_caretDLRU>
<CaretRight=>fn_caretDLRU>
<CaretUp=>fn_caretDLRU>
<CB_Copy>
<CB_Paste>
<CB_Purge>
<CharInfo>
<ClearMark (1..8)=>fn_ClearMark>
<CopyCursor_Down=>fn_copycursor_dlru>
<CopyCursor_Left=>fn_copycursor_dlru>
<CopyCursor_Off=>fn_copycursor_onoff>
<CopyCursor_On=>fn_copycursor_onoff>
<CopyCursor_Right=>fn_copycursor_dlru>
<CopyCursor_Up=>fn_copycursor_dlru>
<CopyFromCC>
<CreateView>
<CycleTABkey>
dbox_GotoLine
dbox_Interactive
dbox_ListOfFound
dbox_FileInfo
dbox_ModeChoices
dbox_Print
dbox_Replace
dbox_SaveBlock
dbox_SaveText
<DClick (filename)=>fn_dclick>
<DateAndTime (format)=>fn_dateandtime>
<DeleteLeft>
<DeleteLine>
<DeleteRight>
<DeleteWordLeft=>DeleteWordLR>
<DeleteWordRight=>DeleteWordLR>
<Drag (appname)=>fn_drag>
<EndOfTLine=>fn_endofTWT>
<EndOfText=>fn_endofTWT>
<EndOfWLine=>fn_endofTWT>
<ExtEdit_SendBack>
<FindNext>
<FullView>
<GSTrans (str)=>fn_gstrans>
<HelpString> (str)
<HelpWord>
<HideView>
<Indent> (num/str)
<IndentOne>
<InsertCtrl>
<InsertStr> (str)
<KillView>
<Learn>
<LineDown=>fn_linedu>
<LineUp=>fn_linedu>
<ListOfC (..)=>fn_ListOfC>
<ListOfFound (..)=>fn_ListOfFound>
<ListOfWord (..)=>fn_ListOfWord>
<LoadOne (path,..)=>fn_LoadOne>
<LoseCaret>
<LowercaseBlock>
<LowercaseChar>
<MarkChar=>fn_markit>
<MarkLine=>fn_markit>
<MarkText=>fn_markit>
<MarkToEnd_tl=>fn_markit>
<MarkToEnd_wl=>fn_markit>
<MarkToStart_tl=>fn_markit>
<MarkToStart_wl=>fn_markit>
<MarkWord=>fn_markit>
<NIL>
<NewLine> (..)
<PageDown=>fn_pageud>
<PageUp=>fn_pageud>
<PassOn>
<Playback>
<Position> (..)
<Print>
<Push=>fn_pushpop>
<Redo=>fn_UndoRedo>
<Replace> (..)
<Rot13> (..)
<Run (command)=>fn_Run>
<RunBasic (..)=>fn_RunBasic>
<SaveDClick (command)=>fn_SaveDClick>
<SaveDrag (appname)=>fn_SaveDrag>
<SaveRun (command)=>fn_SaveRun>
SetMark (1..4)
Sort
SplitViewHor
SplitViewVert
StartOfTLine
StartOfText
StartOfWLine
SwapCaseBlock
SwapCaseChar
Tab
TabIt
ToggleIndent
ToggleInsert
ToggleTabLine
<Transpose (no)=>fn_Transpose>
<Undo=>fn_UndoRedo>
Untab
Unwrap
UppercaseBlock
UppercaseChar
ViewToTop
WordLeft
Word`Right
#EndTable
Global functions :
#Table 6 21
<BlockToBuffer>
<ClipToBuffer=>fn_BlockToBuffer>
Complete (..)
<CreateText (..)=>fn_CreateText>
dbox_GlobalChoices
GotoBlock
GotoBlock_End
GotoBlock_Start
GotoMark (1..4)
<HideAll>
KillAll
KillUnchanged
ListOfTexts
NextWindow
<OpenChars>
<Pop=>fn_pushpop>
<PopAll=>fn_pushpop>
PreviousMessage
PreviousWindow
<SetDir>
<WordToBuffer=>fn_BlockToBuffer>
SaveChanged
#EndTable
DBox functions :
#Table 2 21
<Adjust (icon)=>fn_Select>
<Menu (icon)=>fn_Select>
<Select (icon)=>fn_Select>
<History (..)=>fn_History>
MenuToWindow
#EndTableSyntax of the ModeWhen file
This file describes which files should be loaded on a normal
doubleclick and which mode a file should get when it is loaded.
A "!" in the margin means that this does not apply for doubleclick
( but applies for shift-doubleclick and drag to iconbar)
If you skip the filetype, it will check all filetypes.
A "*" matches anything but '.', and a "**" matches that too.
BASIC
!ffb,**
fd1,**
This says that the BASIC mode is selected when a file with
filetype ffb (tokenised BASIC) and any pathname, is dragged to the
iconbar or shift doubleclicked. (The "!" means it won't load if
just doubleclick.) This mode will also be selected if a file with
filetype fd1 (BASIC as text) is doubleclicked or dragged.Mouse control
Load file:
DClick on textfile.
(or other doubleclick files from the ModeWhen list..)
Shift-DClick on *any* file.
DClick and hold to load *any* file.
Drag *any* file to iconbar icon.
(Shift-Drag to load file even if it is already loaded.)
Insert file:
Drag file to view.
Shift-Drag to insert pathname of file.
Movement/Marking:
Select to move caret
Dclick with Select to mark word.
Tripleclick with Select to mark line.
Select-drag marks new block or starts blocksave..
Ctrl-Select starts new block withouth moving caret.
Adjust/Adjust-drag to alter block, or start new from caret.
Clicking on the *background* of the scroll-bar will scroll
one page up/down. Keep it down for *autorepeat*.
List of Found/List of Texts/Throwback :
Select on a line to move the correct view to front
Adjust to keep the List on top
Shortcuts with the mouse :
Click menu with ALT to get the "Filemenu",
or just click menu at the left screen border.
Click menu at bottom of screen to bring iconbar to
the front, or back again.
Only Throwback:
Shift-Click to delete line or section.Keyboard Layout
To get a full overview you should consult the mode files inside the
StrongED directory. The layout changes too often to be described
here. We will, however, describe some of the more unusual ones...
^F : Create a list of all occurences of the word you're
in. (List of Found)
F2 : opens up the dbox for List of Found
⇧F2 : In C mode, this will give a list of all functions.
In BASIC mode, this will list all DEF PROC/FN..
F1 : Asks StrongHelp for help on the current word.
⇧F5 : Go to where the block is.
^F8 : Redo... Note the placement.. In other programs
this is normally on the F9 key..
⇧F9 : Start/Stop recording keypresses.
F9 : (Stop and) play recorded keys.
F10 : In C mod