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: 2223

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
« September 2010  
SuMoTuWeThFrSa
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
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: 1069
Syndication
file   ver   dls
JBuilder scheme   .001   6880
XP icons for jEdit   1.1   6760
R Edit Mode - extensive version   0.1   6420
ColdFusion scheme   1.0   6266
Advanced HTML edit mode   1.0   6188
jEdit XP icons   1.0   6065
BBEdit scheme   1.0   5919
Matlab Edit Mode   1.0   5854
JDiff Plugin for Jedit 4.2 pre xx   1.4.1   5687
Python Commando File   1.0   5685