Re: [scite] Double-click word selection - can on configure it?

123 views
Skip to first unread message

KHMan

unread,
Feb 24, 2013, 8:06:06 AM2/24/13
to scite-i...@googlegroups.com
On 2/24/2013 8:33 PM, zorro wrote:
> In PHP, variables start with the dollar sign ($example), but the sign does not get selected when I double-click the variable name. Can one configure Scite so that it does get selected?

You can override the default using the following in
SciTEUser.properties:

word.characters.$(file.patterns.html)=$(chars.alpha)$(chars.numeric)_-$

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia

zorro

unread,
Feb 25, 2013, 5:41:37 PM2/25/13
to scite-i...@googlegroups.com
Great, thanks!
I can stop looking for a new editor now :)

Zac

unread,
Mar 1, 2013, 5:18:57 AM3/1/13
to scite-i...@googlegroups.com
KHMan <keinhong <at> gmail.com> writes:

>
> word.characters.$(file.patterns.html)=$(chars.alpha)$(chars.numeric)_-$
>

Thanks for the hint! I was configuring scite not to select the dollar from the
variable name in shell scripts, and I had to write this:

word.characters.*.sh=$(chars.alpha)$(chars.numeric)_

note I had to change the filetype selection,
because yours did not worked form me.


KHMan

unread,
Mar 1, 2013, 6:18:26 AM3/1/13
to scite-i...@googlegroups.com
On 3/1/2013 6:18 PM, Zac wrote:
Yes, ideally, I recommend browsing SciTEDoc.html and perusing the
properties file set. There are tons of stuff that can be tweaked
so that it works exactly the way you want it to.

Properties for shell scripting is in perl.properties and the
default is:

word.characters.$(file.patterns.bash)=$(chars.alpha)$(chars.numeric)_$@%&

HTH,
Reply all
Reply to author
Forward
0 new messages