[TxMt] Double click between words

William D. Neumann wneumann at cs.unm.edu
Mon Aug 28 16:16:35 UTC 2006

On Mon, 28 Aug 2006, Mark Lacas wrote:

> Why would it try to remove the $ in front of variables when all I wanted to 
> do was remove the spaces or change them to tabs?

I believe that this is because the selection code just splits characters 
into two classes, word characters and non-word characters, and it just 
grabs full runs to the left and right of whatever class of character is 
currently under the cursor.  If you want to fix the sigil selection 
behavior, pull up the TextMate preferences, and add $,@, etc to the Word 
Characters list in the Text Editing tab.

William D. Neumann


"There's just so many extra children, we could just feed the
children to these tigers.  We don't need them, we're not doing 
anything with them.

Tigers are noble and sleek; children are loud and messy."

         -- Neko Case

Life is unfair.  Kill yourself or get over it.
 	-- Black Box Recorder

More information about the textmate mailing list