home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
editors
/
hypsh40b.arj
/
HYPDEVEL.LZH
/
HS_IDE.HYP
< prev
next >
Wrap
Text File
|
1991-04-24
|
9KB
|
394 lines
.REMARK
Control Hyperfile
Global items for Integrated Development Environment
Copyright (c) Text Technology 1990,1991
Menus and notes utilise 'v' condition for VIEW mode
-
Hook in key mapping first
.
.SCRIPT H_SETUP
K##A@MH_FUNCTION
.
.REMARK
Editing items
.
.MENU H_FUNCTION
Edit item |MH_Edit
Add item |MH_Add
Maintenance |MH_Maintenance
Save and exit|#X
Quit |#Q
.
.MENU H_Edit
Current frame|#EF$1
Frame |SH_EDIT(C)
Global Item |SH_EDIT(I)
Local Item |SH_EDIT(i)
Text file |SH_EDIT(l*.*)
Header |#EU
Edit Footer |#EV
.
.MENU H_Add
Frame |SH_ADD(C)
Global Item |SH_ADD(I)
Local Item |SH_ADD(i)
Text file |SH_ADD(l*.*)
Index |#AI
.
.MENU H_Maintenance
View item |SH_MAINT(V)
Rename item |SH_RENAME
Title change |SH_TITLE CHANGE
Delete item |SH_MAINT(D)
Whats deleted|#V@Z
Information |SH_INFORMATION
Undelete item|SH_UNDEL
Move item |SH_MOVE
Print item |SH_MAINT(P)
Check item |SH_MAINT(C)
Full Check |A@MH_CHECK
Global search|#V@Y?Search string
Local search |#V@y?Search string
.
.MENU H_APPEND
Global item |i@I
Local item |i@i
Frame |i@C
Referenced item |i@R
Text file |f@L*.*
Note file |f@d*.NTE
Menu file |f@d*.MNU
Script file |f@d*.HSF
BLOAD screen |t@d*.PIC
BLOAD with attrs|w@d*.PIC
.
.MENU H_CHECK
Frames |#V@U
Global Items |#V@V
Local Items |#V@v
.
.MENU H_CONVERSION
Convert line to uppercase |cu
Convert line to lowercase |cl
Strip spaces in line |cs
Convert word to uppercase |bLBeLBpcu;BdEDb
Convert word to lowercase |bLBeLBpcl;BdEDb
.
.MENU H_EDIT TYPE
Frame |C
Global Item |I
Local Item |i
Search Items|Y?search for
Text file |l*.*
.
.MENU H_GLOBAL ITEM
Note |N
Menu |M
Script |S
Remark |R
Print |P
Check |C
Text file |T
Header |U
Footer |V
.
.MENU H_LOCAL ITEM
Note |n
Menu |m
Script |s
Remark |r
Print |p
Check |c
.
.MENU H_EDMENU
?vHelp |hNH_VIEW KEYS
\vHelp |x@MH_EDHELP
\vAppend item |x@MH_APPEND
\vInsert ref |x@MH_INSERT REF
\vConversions |x@MH_CONVERSION
\vMark line |.
\vCut from mark |-
\vPaste lines |+
\vInsert string |s?String
\vDo function |x?Function
Toggle Verbatim |H
Quit |Q
\vExit |X
.
.SCRIPT H_INFORMATION
-- in memory or file
VÇ&R28
Vàin memory
vÇ1;aeVàagainst file
-- edits
Vé&R29
Vü&f
Vä&l
NH_INFORMATION
.
.NOTE H_INFORMATION
Hyperfile name $3
Hyperfile size at start $ä
Editing mode $à
Edits performed so far $é
Disk space available $ü
Available memory $@
.
.SCRIPT H_ADD
-- Parameter shows type of item to add
v\;aeq
VÇ$\
vÇC;jeFRAME
vÇl*.*;jeTEXT
-- Items of various descriptions
pSelect item type
vÇI;jcGLOBS
LLOCS
Vü@MH_LOCAL ITEM
JNAME
-- Global items
LGLOBS
Vü@MH_GLOBAL ITEM
-- If Header or footer just bare add
ZI"üU"e!"üV"e;JCONTROL
LNAME
Vé?Item name
-- Vâ&N1$Ç;vâl;jeTEXT
#BAfter which item
Vä@$Ç
JCOMMON
-- And now for frames
LFRAME
Vé?Frame name
Và?Frame Title
VüF
#BAfter which frame
Vä@C
-- Common processing
LCOMMON
#A$ü$é~$ä
vÇC;anq
-- Add title
#TF$é~$à
q
-- Text file
LTEXT
Vé?File name with extension
-- Vâ&N1$é;vâT;anVéT$é
#AT$é
q
-- Control item
LCONTROL
#A$ü
.
.SCRIPT H_EDIT
-- Stash parameter
VÇ$\
-- Set function and name
VäE
VàEdit
+H_DOFUN
.
.SCRIPT H_MAINT
-- Stash parameter
Vä$\
-- Get function name
Và@MH_VED[$ä]
p$à what type
VÇ@MH_EDIT TYPE
abq
+H_DOFUN
.
.SCRIPT H_DOFUN
-- Item selection
#BSelect item to $à
Vé@$Ç
abq
-- See if print
väP;jnDOTHEFUN
O51
Y?Ready Printer (ESC to cancel)
LDOTHEFUN
#$ä$é
q
.
.MENU H_VED
V|View
E|Edit
D|Delete
C|Check
P|Print
.
.SCRIPT H_MOVE
VÇ@MH_EDIT TYPE
#BSelect item to move
Vå@$Ç
#BMove to after which item
Vä@$Ç
#M$å~$ä
#BPress any key to continue
Y@$Ç
.
.SCRIPT H_RENAME
VÇ@MH_EDIT TYPE
abq
#BSelect item to rename
Vå@$Ç
abq
Vç&S2$å
Vä?Rename '$ç' as what/$ç
abq
#R$å~$ä
-- ???? Need to handle TITLE for frames as well
Y@$Ç
.
.SCRIPT H_TITLE CHANGE
-- Title change
#BSelect frame to change title of
Vé@C
abq
-- Get old title
Vä&S2$é
Vä&T$ä
-- Get new one
Vä?New title/$ä
#T$é~$ä
q
.
.SCRIPT H_UNDEL
Vé@Z
abq
pWhat list to undelete to
VÇ@MH_EDIT TYPE
abq
vÇC;jeFRAME
-- Items
#BInsert after which item
VT@$Ç
JCOMMON
-- Frame
LFRAME
#BInsert after which frame
Vä@C
-- Common
LCOMMON
#U$é~$ä
.
.MENU H_EDHELP
Main Keys |hNH_MAIN KEYS
?vView mode Keys|hNH_VIEW KEYS
\vFunction Keys |hNH_FUNCTION KEYS
\vControl Keys |hNH_CONTROL KEYS
\vEdit Functions|hNH_EFUNS
\vGraphic chars |s@NH_GMAP
.
.NOTE H_GMAP
GRAPHICS CHARACTERS SHOWING MAPPINGS AVAILABLE IN SYMBOL SHIFT
`abcdefghijklmnopqrstuvwxyz+,./{}| 3 4 5 6 7 8 9 = ; : @ < >
αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·½¼«»√²ⁿ │ ┤ ╡ ╢ ╖ ╕ ╣ ╜ ╗ ║ └ ╝ ╛
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧ ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌
┌─┬─┐ ZDBD? ╔═╦═╗ IMKM; ░ 0 U â ä à å Ä Å á
├─┼─┤ CDED4 ╠═╬═╣ LMNM9 ▒ 1 N Ç ç
│ │ │ 3 3 3 ║ ║ ║ : : : ▓ 2 - é ê ë è É
└─┴─┘ @DADY ╚═╩═╝ HMJM< █ [ M ï î ì í
A ¢ £ ¥ ₧ ƒ ⌐ ¬ ¡
╒═╤═╕ UMQM8 ╓─╥─╖ VDRD7 ▌ ] P ô ö ò Ö ó
│ │ │ 3 3 3 ║ ║ ║ : : : ▐ ^ P ü û ù Ü ú
╞═╪═╡ FMXM5 ╟─╫─╢ GDWD6 ▀ _ E æ Æ
╘═╧═╛ TMOM> ╙─╨─╜ SDPD= ▄ \ D ÿ ñ Ñ ª º ¿
You may select any character directly, by use of the HOME key
.
.NOTE H_EFUNS
</> Previous char/Next char R Refresh screen
B/b Beginning of line/word E/e End of line/word
N/n Next page/line P/p Prev page/line
. Mark start line - Cut from start line
+ Paste cut lines D/d Delete current/prev char
Z/z Delete to start/end of line K Delete current line
U Undelete line J Join lines
L Insert newline char O/o open line before/after
=c actual character 'c' V Verbatim character
T Insert TAB character cxxx convert line using xxx
xsspec Execute function string ssspec Insert string
A/a Autoref global/local F Autoref from frame list
W wipe current reference flags hnspec Popup note
ffspec Append file iispec Append item
tfspec Append text screen wfspec Append screen with attributes
C Toggle cursor tracking H Toggle flag interp
I Toggle Insert/Overwrite S Toggle symbol shift
M Toggle margins l/r Set temp left/right margin
X Exit edit with save Q Quit edit
.
.NOTE H_VIEW KEYS
VIEW MODE KEYS
F1 HELP
F2 REFRESH SCREEN
F9 or F0 QUIT ITEM EDIT
.
.NOTE H_OTHER
EDIT FUNCTION LETTERS:-
Y - TOGGLE FLAG INTERPRETATION
.
.NOTE H_MAIN KEYS
Enter - Insert new line / break current line
Backspace - Delete previous character
Escape or Right Mouse - Edit menu
LEFT Mouse - Position cursor / use scrollbar
Cursor Up,Down,Left,Right - Prev line, Next line, Prev char, Next char
Home, End - Beginning of line, End of line
Ctrl Home, Ctrl End - Go to start of word, end of word
Page Up, Page Down - Previous page, Next page
Ctrl PgUp, Ctrl PgDn - Go to start, end of buffer
Insert - Toggle Insert mode
Delete - Delete next character
Ctrl Left, Ctrl Right - Delete to start, end of line
.
.NOTE H_CONTROL KEYS
^A,^B - open new line After current, Before current
^E - Enter EDIT command
^F - reformat paragraph
^J - Join current line to next line
^K - Kill (delete) current line
^L,^R - Set temporary Left margin, Right margin
^N - Write edit buffer to file EDITBUFF.SAV
^O - Toggle margins (clear temporary margins)
^Q - Quote verbatim character (next char typed)
^T,^G - Toggle cursor Tracking, Flag interpretation
^U - Undelete line
^V - Verify (check) buffer
^W - Wipe reference flags
^X,^D - Mark start for inline cut, delete inline
^Y - paste in line
^Z - duplicate character from mouse position
.
.NOTE H_FUNCTION KEYS
UNSHIFTED SHIFT (flag as) CONTROL (insert) ALTERNATE
F1 - Help menu Frame step Frame reference Frame autoref
F2 - Refresh Frame ref Global item ref Global note autoref
F3 - Macro (check) Global note Local item ref Local note autoref
F4 - Swap with mark Local note Append Frame Search/replace
F5 - Mark for cut Global menu App Global item Search again
F6 - Cut from mark Local menu App Local item Search for string
F7 - Paste lines Global Script App File text Copy to kill buffer
F8 - Symbol shift Local Script App Screen file Paste kill buffer
F9 - QUIT edit Action App Screen (att) DOS Exit
F10 - Save & exit Input field App EDITBUFF.SAV Write PASTE buffer
.