jEdit Community - Resources for users of the jEdit Text Editor
PHP edit mode (php.xml v2005-03-18 by blueyed)
Submitted by blueyed on Thursday, 30 December, 2004 - 05:19
Merged the version from Scott with the CVS version and wrote a PHP script to extract the functions, classes and aliases from php.net/zend.org automatically. Besides there are some more changes I've made with help from Scott regarding the handling of variables in literals and class variables/methods in general. A raw definition of token type usage:
  • FUNCTION: own functions
  • KEYWORD1: language constructs (__FILE__, break, extends, ..)
  • KEYWORD2: internal functions (PHP, xdebug, SimpleTest/PHPUnit), DTD tags
  • KEYWORD3: variable names (plus true, false, null)
  • KEYWORD4: class relevant things (definitions, methods, vars)
  • LITERAL1: literals
  • LITERAL2: HTML entities
  • COMMENT1: "#", "/* */"
  • COMMENT2: "//" and HTML comments
  • COMMENT3: PHPdoc

Updated on 18 Mar 05 - 21:00
Downloads: 2074

Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
very useful
by horushuang on Fri, 26/05/2006 - 06:38
 
Needs a fix
by venimus on Fri, 07/07/2006 - 00:34
add an escape slash to { in the regex on line 186, else jedit 4.2pre5 crashes.

original:
<BEGIN>{(?=\$)</BEGIN>
fix to:
<BEGIN>\{(?=\$)</BEGIN>
good place
by fxy228 on Tue, 25/01/2005 - 08:37
User login
Browse archives
« February 2010  
SuMoTuWeThFrSa
 
1
2
3
5
6
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
33%
Indifferent
34%
No, that'd be bad (please comment)
7%
Total votes: 1061
Syndication
file   ver   dls
JBuilder scheme   .001   6424
XP icons for jEdit   1.1   6345
ColdFusion scheme   1.0   5798
R Edit Mode - extensive version   0.1   5782
Advanced HTML edit mode   1.0   5705
jEdit XP icons   1.0   5571
BBEdit scheme   1.0   5409
Matlab Edit Mode   1.0   5381
Python Commando File   1.0   5101
JDiff Plugin for Jedit 4.2 pre xx   1.4.1   5071