jEdit Community - Resources for users of the jEdit Text Editor
PHP double click behaviour
Submitted by misterv on Wednesday, 1 August, 2007 - 15:28
Similar to the post below (http://community.jedit.org/?q=node/view/3605) but I want to change the double click behaviour for php files so that the dollar sign is selected when double clicking as it's driving me nuts when I want to select a variable. I tried following these instructions in the php.xml mode file but got an error.

# copied and pasted from the mentioned post
2. Create a mode file (as you've suggested) for MEL (which exists already on www.highend3d.com by the way, just search for jedit). Inside the < PROPS > tag, insert the following line:
< PROPERTY NAME="noWordSep" VALUE="_$" / >

How can I change the behaviour? What would I modify in the php.xml file? Thanks!
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Solved
by misterv on Wed, 01/08/2007 - 18:26
For anybody else that has trouble figuring it out. It's under Global Options - Editing. Just add $ to extra word characters. Blessings!
User login
Browse archives
« September 2024  
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   99105
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17480
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300