Hi Richard,
Short answer: Yes, sort of.
Long answer: For Scripted 0.4.0, we are working on a proper plugin
model. Content assist and syntax highlighting are high on the list
for supporting in a pluggable way.
If you are talking about *only* content assist and syntax
highlighting, then you can have that now, with just a little bit of
hacking. There are plans on making this support more explicit. But
if there are other things you need to do (like navigation, hovers, and
error markers), then there would be a bit more work.
For content assist, have a look at cssContentAssist.js (the simplest
implemented content assistant) and look at the computeProposals
function.And take a look at the other content assistants for
For the grammar and syntax highlighting, take a look at
htmlGrammar.js. The grammar files use a sub-set of text mate styling
to do syntax highlighting. See here for a quick reference:
http://macdevcenter.com/pub/a/mac/2007/04/11/customizing-textmate.html
Both of these are plugged in inside of scriptedEditor.js and these
apis have been borrowed from Eclipse Orion (and the good news is that
if you already have done some Eclipse Orion integration, then this can
largely be ported over as-is). I don't have much experience with the
styling, and don't really know how flexible it is, but the content
assist api is quite flexible and we are planning on making it more so.
As we finalize the plugin model, we will also nail down our api.
(Athough I doubt we would make any incompatible changes.) Your
feedback in this area would be greatly appreciated and would help us
craft better apis. And I am happy to help if you have any more
questions or problems.
--a
> --
>
>