should have mentioned that I´m not using codehints "functions", but menu patterns which have the DOCTYPES="PHP_MySQL" defined, example:
<menu pattern="whatever" DOCTYPES="PHP_MySQL" casesensitive="true"> .... </menu> |
This is fixed with the displayrestriction attribute. Set it to the Code Coloring <scheme> that you want to limit the code hinting to.
What does Code Coloring have to do with Code Hints? The "Code Coloring" feature is a bit of a misnomer. The Code Coloring patterns define different syntax states that are used for code coloring, but they are used by other code view features.
Look in Configuration/CodeColoring/PHP.xml, and you'll see that the main PHP <scheme> has id="PHP_Script". So, add this:
displayrestriction="PHP_Script"
to the <menu> tag.
Regards,
Randy