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 03/18/2005 - 21:00
Downloads: 3294

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
« October 2017  
MoTuWeThFrSaSu
 
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
31
 
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
35%
No, that'd be bad (please comment)
7%
Total votes: 1092
Syndication
file   ver   dls
German Localization light   4.4.2.1   50720
Context Free Art (*.cfdg)   0.31   40867
JBuilder scheme   .001   16852
ColdFusion scheme   1.0   16418
BBEdit scheme   1.0   16400
R Edit Mode - extensive version   0.1   14669
Advanced HTML edit mode   1.0   13906
Matlab Edit Mode   1.0   13819
jEdit XP icons   1.0   13288
XP icons for jEdit   1.1   12313