[TxMt] Re: [TM2] selection behavior
dhowden at gmail.com
Fri May 11 11:29:31 UTC 2012
I believe that this is what you want:
(In particular the description of the characterClass property). You should
be able to override these settings in your own source bundle, and probably
in your PHP bundle.
On Thu, May 10, 2012 at 10:50 AM, Frankos <frank.leigh at btopenworld.com>wrote:
> I don't see the advantage of including the $ when selecting a variable. Yes
> sometimes it is very handy to include the $ but other times it is a
> nuisance, especially when creating associative arrays from from pasting a
> variables name. I guess the perfect solution is pressing shift, double
> to include the $ or something along those lines.
> My copy of TM2 includes the $ and I really want it to behave like TM1 in
> this respect. Does anyone know how to make it NOT include the $ when double
> clicking a variable?
> Gerd Knops-2 wrote:
> > Hi,
> > TM2 still appears to have the same troublesome selection behavior TM1
> > As an example take this line in Perl:
> > die("$self failed to implement ".(caller(0)));
> > Ideally I could select '$self' by double-clicking. For that to work I
> > would need to tell TM2 that $ is a word character in Perl, per grammar
> > word character definitions are needed. (That may be there already, but I
> > can't find it being mentioned anywhere.)
> > Now double-clicking on 'self' and moving the mouse to the left to add the
> > '$' doesn't work because it adds '("$'. TM2 should treat non-word
> > characters as individual characters instead of grouping them together
> > a "word" when extending a selection that started with a double-click.
> > Similarly it is impossible to select 'caller(0)' by double-clicking
> > 'caller' and extending to the right, instead one ends up with
> > 'caller(0))['.
> > Gerd
> > _______________________________________________
> > textmate mailing list
> > textmate at lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
> View this message in context:
> Sent from the textmate users mailing list archive at Nabble.com.
> textmate mailing list
> textmate at lists.macromates.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the textmate