yes, highlighted = colored :)
Can you create your own glossary without a major effort for
Javascript DOM ?
I am still learning the language and very prone to stupid syntax errors.
Thank goodness it is close to php which is more my speciality
maybe it is better to use Eclipse for this kind of thing ?
g
On Jul 6, 2006, at 6:07 PM, Seth Dillingham wrote:
On 7/6/06, Graham Anderson said:
For example, all DOM methods such as, getElementById or
insertBefore, are
highlighted. I am looking for something similar to the PHP
glossary where
all valid commands/methods are highlighted.
By "highlighted" do you mean they're colored?
There are a couple problems with having the DOM methods 'colored'
via syntax
coloring.
First, they're not really a built-in part of the language. That's
not a very
strong argument against it, though.
Second, you can create your own functions and methods with exactly
the same
names as those in the DOM API, and there would be no way for BBEdit
to tell
the difference. They'd all be colored. That certainly wouldn't make
it any
easier to spot bugs. (I have a javascript library with a number of
object
methods that have identical names to those in the DOM API, and I
know I'm
not the only one.)
Now, having said all that, it might be handy if there were a way
(even a
"hidden pref") to activate and deactivate syntax coloring for the
DOM API in
JavaScript. Maybe. Or even a separate language, like JavaScript
DOM, that
you could choose from the language popup.
Seth
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>