Menu of marks in scripteditor
Moderator: Klaus
Menu of marks in scripteditor
..........
Last edited by [-hh] on Wed Aug 13, 2014 11:26 am, edited 1 time in total.
shiftLock happens
Re: Menu of marks in scripteditor
I asked for something similar 15 years ago and it almost got done back in the MetaCard days. For some reason it never made it to the finals.
Some of us now make our own, by doing this:
on __MYMARKER
end __MYMARKER
Put non-functional handlers like that throughout your script. They show up in the side handler list pretty well. I use two underscores at the beginning of each handler name, it shows up better than a single underscore. I also tend to put the marker names in all caps, which makes them look like headers.
So scattered throughout my script, I have stuff like this:
on __UTILITIES
end __UTILITIES
on __ENGINEMSGS
end __ENGINEMSGS
on __NAVGATION
end __NAVIGATION
It doesn't sort well, but I hardly ever do that. I usually keep my scripts organized by functionality.
Some of us now make our own, by doing this:
on __MYMARKER
end __MYMARKER
Put non-functional handlers like that throughout your script. They show up in the side handler list pretty well. I use two underscores at the beginning of each handler name, it shows up better than a single underscore. I also tend to put the marker names in all caps, which makes them look like headers.
So scattered throughout my script, I have stuff like this:
on __UTILITIES
end __UTILITIES
on __ENGINEMSGS
end __ENGINEMSGS
on __NAVGATION
end __NAVIGATION
It doesn't sort well, but I hardly ever do that. I usually keep my scripts organized by functionality.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com