Preferences->General->Content Types->Text->PHP Content Type
Add..
*.ctp
Validation is marking all var functions as needing a semicolon after the close brace.
Ex:
- Code: Select all
var remove_row = function($target) {
if($('#dataTable tbody tr').length == 1) return;
$target.parent().remove();
reorder();
onDataChange();
} // MARKS LINE AS MISSING SEMICOLON
Yes, I have completely turned off ALL Javascript validation. I only have PHP validation on. When I make the .ctp file content type HTML the problem goes away but obvisouly any PHP scripting is not colored. I promise I did everything right; something is wacked out.
Please help.
Thank you.

