jEdit Community - Resources for users of the jEdit Text Editor
PHP First Line GLOB in catalog
Submitted by edoceo on Friday, 21 April, 2006 - 00:37
It comes (4.3p3) like this: but that misses php command line scripts that start with a #!/usr/bin/php or the like. I would like to suggest/request the modification below: Catches files with right suffix, starting with
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Missing Catalog Entries
by edoceo on Fri, 21/04/2006 - 00:40
Sorry first post stripped them, oops!

With 4.3p3:
<MODE NAME="php" FILE="php.xml"
FILE_NAME_GLOB="*.{php3,php4,php,phtml,inc}"
FIRST_LINE_GLOB="&lt;?php*" />

Suggestion:
<MODE NAME="php" FILE="php.xml"
FILE_NAME_GLOB="*.{php3,php4,php,phtml,inc}"
FIRST_LINE_GLOB="{&lt;?php*,#!/*php*}" />
 
committed it
by blueyed on Sat, 22/04/2006 - 02:41
I've committed it (Rev. 1.96 of /modes/catalog).

Thank you.
User login
Browse archives
« April 2025  
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
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   107462
Context Free Art (*.cfdg)   0.31   46068
BBEdit scheme   1.0   18604
JBuilder scheme   .001   18505
ColdFusion scheme   1.0   18038
R Edit Mode - extensive version   0.1   17485
Advanced HTML edit mode   1.0   16219
Matlab Edit Mode   1.0   16083
jEdit XP icons   1.0   15242
XP icons for jEdit   1.1   14306