Skip to main content
January 26, 2007
Question

CodeHints and dollar sign ($) problem

  • January 26, 2007
  • 1 reply
  • 260 views
Hi for everyone,

I´m developing a extension to add CodeHints to the freeDOM.js (it´s a brazilian DOM Library) and I´m having problens when I use the dollar sing ($).

I can (should) explain it better. Look:

with that (part of) code:

...
<menu pattern="$" DOCTYPES="JavaScript" caseSensitive="true">
<menuitem label="$(strObjId, strObjId2, ...)" value="(" icon="shared/mm/images/hintMisc.gif"/>
...

everything is fine. So, when I type $ (dollar sing) the CodeHints appears with all menuitem that I configured.

But, in this (part of) code:
...
<function pattern="$(strObjId, strObjId2, ...) {}" doctypes="JavaScript" casesensitive="true" />
<function pattern="foo_test(foo test string) {}" doctypes="JavaScript" casesensitive="true" />
...

only the second menu tag appears when I typing the function in DW. So, my question is simples: Can I use the dollar sing ($) in the attribute pattern?

Thanks
This topic has been closed for replies.

1 reply

January 30, 2007
Someone?