Hello Philip,
(PO == "Philip Olson") [EMAIL PROTECTED] ciphered:
PO> This is a good idea. I just played with it a bit and notice for it
PO> to work "properly" one must space out the function so (pretending
PO> that | is our cursor) :
<snip>
Both examples work with my version of EditPlus (see below).
PO> As it interpets it all together as one CurWord. Is there a way
PO> around this? Like creating an alphanumeric form of "CurWord" ?
PO> Hmm. Anyway, this is pretty cool and should be exploited by all
PO> editplus users. At some point everyone should look into doing this
PO> for other editors too.
Ah, well it depends one which version you're using. Ack, in that case
you could always use $(CurSel) and highlight the function name and it
would work OK in all versions (but an upgrade would be better).
I'm using Beta 2.10a (I'm in the Beta program), but I'm not completely
sure when this new feature was added (some where between 2.00 and
2.10a):
If you go into settings and syntax for PHP in Preferences, I see a
'function pattern' text field which has:
^[ \t\s]*function[ \t\s].*\([^;]*$
And I'm now guessing that's why $(CurWord) is smart enough to "figure
it out" :-)
-Brian
--
In computing, the mean time to failure keeps getting shorter.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]