Search the web
Sign In
New User? Sign Up
editplus · Join the EditPlus group! The Best Editor
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
php dbl-click to select variable   Message List  
Reply | Forward Message #6327 of 6448 |
Re: [edit+] php dbl-click to select variable

Ok, that's clearer. I commented out the line "#PREFIX3=$" and that gives me the
desired effect. The '$' is a required part of php variable names and this makes
cutting-n-pasting, and therefore life, easier.

Some syntax hilighting is lost, but that's less of a concern.




Wed Jul 1, 2009 6:13 pm

tc_online2000
Offline Offline
Send Email Send Email

Forward
Message #6327 of 6448 |
Expand Messages Author Sort by Date

When I double-click to select a php variable, like $myVariable, EditPlus it doesn't pick up the dollar-sign prefix. Any patch/correction for that behaviour? ...
tc_online2000
Offline Send Email
Jun 26, 2009
5:49 pm

Hello: The '$' is probably set as a "word delimiter" character. This is typically the desired behaviour, since the symbol is not really part of the variable ...
dz@...
dzfoo
Offline Send Email
Jun 26, 2009
6:02 pm

Thanks for the tip. Unfortunately, that's not it. '$' is not in the delimiter list. It is in "#PREFIX3=$" and it is one of the items under KEYWORD. I also...
tc_online2000
Offline Send Email
Jun 26, 2009
11:46 pm

Being under the KEYWORD list is harmless, since it means it will be highlighted when encountered by itself, that is, surrounded by word delimiters or...
DZ-Jay
dzfoo
Offline Send Email
Jun 27, 2009
10:27 am

... The dollar sign is not, and was not, on the #DELIMITER line. I've run into this slight issue myself and sure would like the $ to be picked up too. Any...
Stitch
djm0219
Offline Send Email
Jun 28, 2009
2:47 am

So, I take it the answer to this is "no way, no how"......
tc_online2000
Offline Send Email
Jul 1, 2009
6:16 am

What? No, the answer is yes, but you'll have to forgo syntax highlighting of variables prefixed by "$". As I said before, you either treat the "$" symbol...
DZ-Jay
dzfoo
Offline Send Email
Jul 1, 2009
9:26 am

... Yes, it's probably in one of the PREFIX line. Can you post your stx file? dZ....
DZ-Jay
dzfoo
Offline Send Email
Jul 1, 2009
9:25 am

... It is on the #PREFIX3 line by itself. I've not seen any mention of changing the prefix line(s) however. Dave...
Stitch
djm0219
Offline Send Email
Jul 1, 2009
9:39 am

... Perhaps it was not clear, but my intention was to say this: Option 1: Remove "$" from PREFIX line and forgo syntax highlighting of variables, but allow...
DZ-Jay
dzfoo
Offline Send Email
Jul 1, 2009
11:35 am

Ok, that's clearer. I commented out the line "#PREFIX3=$" and that gives me the desired effect. The '$' is a required part of php variable names and this makes...
tc_online2000
Offline Send Email
Jul 1, 2009
6:13 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help