! Syntax Highlighting Patterns for PHP 3 ! Originally contributed by Kolb Norbert (nkolb@htl.de) ! modified for php3 and html defaults in the same document ! contributed by Joseph Abrahamson (jabraham@blc.edu) ! Changed several Perl-specific syntaxes to PHP ! by Ben Kosse (bkosse@iname.com) ! ! This pattern set is for NEdit 5.1 and beyond. Older versions may ! still be available in: ! ! ftp://ftp.nedit.org/pub/v5_0_2/contrib/highlight_pats/ ! ! Load this file by starting nedit with: ! ! nedit -import ! ! Then, check that the patterns were loaded correctly, and choose Save Defaults ! from the Preferences menu. The new patterns will now be incorporated into ! your own .nedit file, so the next time you start NEdit, you will no longer ! need to use -import. ! ! Changes: ! ! March 10, 2000, Updated for NEdit 5.1 (MWE) ! Aug 28, 2000, Updated to be PHP syntax compliant (BK) ! Sept 14, 2000, Fixed some glitches in the subroutine parameters (BK) ! Nov 24, 2000, More glitches fixed, this time in class parameters ! Also added more functions ! ! TODO (in order of importance): ! Split the library fns by group so case insensitive matching doesn't ! cause Nedit to core dump on my box. ! Get word boundaries working correctly (this can't be done yet) ! Figure out how to highlight an user-defined function in code ! nedit.highlightPatterns: \ PHP-HTML:1:0{\n\ php3:"<(\\<\\?|\\