On Wednesday, December 29, 2010, Lorin Rivers
<[email protected]> wrote:
I'm working with Protovis <http://vis.stanford.edu/protovis/>,
which is a javascript-based graphics library.
The syntax for a protovis block adds "+protovis" to the end of
the declaration in the html document, like so:
<script type="text/javascript+protovis">
Is that really necessary? If Protovis is just a library, then
the code is just JavaScript and "text/javascript" should work
just fine, right?
What can I do to make BBEdit treat this as if it is javascript, or
even better, extend the existing JS language module to support
protovis?
You can generate a tags file for Protovis symbols and put it in
~/Library/Application Support/BBEdit/Completion Data/JavaScript/
and the Protovis symbols will be recognized and eligible for
coloring and completion.
R.
--
Rich Siegel Bare Bones Software, Inc.
<[email protected]> <http://www.barebones.com/>
Someday I'll look back on all this and laugh... until they
sedate me.
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>