home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d7xx
/
d770
/
uedit.lha
/
Uedit
/
Jenkins2.LZH
/
Bookmarks
< prev
next >
Wrap
Text File
|
1991-04-08
|
2KB
|
51 lines
===== Bookmarks =======================================
COPYRIGHT 1990
Robert A. Jenkins, Ph.D.
22901 Shagbark Lane
Miller Woods, IL 60411
(708) 758-0344
(708) 759-7063 answering machine
All Rights Reserved
Rick Stiles may distribute it as he pleases.
Thanks for writing and continually improving Uedit!
=============================================================================
I find Rick's bookmarks impossible to use. I cannot keep track of them as
they cycle. So I wrote this command to set up five bookmarks. Now I use
bookmarks a lot.
=============================================================================
Use this to set gadget 3 name (kills itself)
<ctl-q:
gadgetName(3,"12345 GO/SET 12345")
killKey(ctl-q)
>
n50,
n51 = mouse x,y = switch parameter
=============================================================================
Uses gadget 3 and buttondown to set five bookmarks or move to a bookmark.
<normal-gadget3:
mouseXY(n50,n51)
sub(n50,n50,320) ..first pixel in gadget 3
div(n50,n50,8) ..character width
add(n50,n50,1) ..map to mark #
switch(n50) {
case(1) {equateLoc(curFile,atCursor,locF) ..go to
vScroll(atCursor) }
case(2) {equateLoc(curFile,atCursor,locG)
vScroll(atCursor) }
case(3) {equateLoc(curFile,atCursor,locH)
vScroll(atCursor) }
case(4) {equateLoc(curFile,atCursor,locI)
vScroll(atCursor) }
case(5) {equateLoc(curFile,atCursor,locJ)
vScroll(atCursor) }
case(14) {equateLoc(curFile,locF,atCursor) beepDisplay } ..set
case(15) {equateLoc(curFile,locG,atCursor) beepDisplay }
case(16) {equateLoc(curFile,locH,atCursor) beepDisplay }
case(17) {equateLoc(curFile,locI,atCursor) beepDisplay }
case(18) {equateLoc(curFile,locJ,atCursor) beepDisplay }
}
>