[TxMt] Re: [TM2] selection behavior
Frankos
frank.leigh at btopenworld.com
Thu May 10 09:50:54 UTC 2012
Hi
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 complete
nuisance, especially when creating associative arrays from from pasting a
variables name. I guess the perfect solution is pressing shift, double click
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?
Frankos
Gerd Knops-2 wrote:
>
> Hi,
>
> TM2 still appears to have the same troublesome selection behavior TM1 has.
> As an example take this line in Perl:
>
> die("$self failed to implement ".(caller(0))[3]);
>
> 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 into
> 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: http://old.nabble.com/-TM2--selection-behavior-tp32995485p33763669.html
Sent from the textmate users mailing list archive at Nabble.com.
More information about the textmate
mailing list