outlining code editors (was: TechNote 2106)
outlining code editors (was: TechNote 2106)
- Subject: outlining code editors (was: TechNote 2106)
- From: steve harley <email@hidden>
- Date: Tue, 9 Mar 2004 16:53:08 -0700
on 9 Mar 2004, at 7:53 AM, John Adam Bloom wrote:
I think most of your desires can be attained with a little effort by
scripting OmniOutliner in conjunction with Script Editor.
not my desires, maybe someone else's ...
Pasting a short (compiled) script into OmniOutliner (shows up colored,
indented, etc.)
indented, but it doesn't suck the text into a proper outline..
additional scripts would be needed to recompose the outline structure..
plus Script Editor doesn't seem to allow access to styled text, so
you'd have to resort to clunky GUI Scripting, copy & paste
then you come to the other items (and the etc.) of my comment:
... debug integration, subtree commenting, indent level inference,
etc.
yes, one could write scripts for many of these needs, then wedge them
in with a keyboard shortcut tool and/or a palette built in AppleScript
Studio, but in a code editor all or most of these features really
should be seamless and live, not incrementally updated by a round trip
to Script Editor.. i really don't see a way to patch this together that
would be anything more than an exercise.. if you want to do flow charts
in OmniGraffle, i'd suggest just adding some XML tags to script lines
finally, proper support for the "end" statements of AppleScript require
a unique twist in oultining -- either the outliner would hide end
statements, or it would need special knowledge to be able to properly
fold code blocks.. OmniOutliner does neither
one might plead with Omni to build some of these features into the app,
but i think Omni's analysis would show that a code outliner is a neat
idea with a nebulous market, and that to really compete would require
going up against established products like BBEdit and XCode
more plausible would be an AppleScript-specific solution (from Apple,
Late Night or Satimage), or an open source effort (Leo, JEdit and even
emacs have a lot to offer conceptually, but as cross-platform apps,
each is way off the mark interface-wise)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.