How do I Select all the characters between double quotes? When I use Ctrl+Alt+B when the cursor is somewhere inside the double quotes, it selects all the characters inside the quotes AND the quotes themselves.
Can I change this so that I can restrict selection within the quotes without the quotes?
On Sat, Jun 6, 2009 at 7:17 PM, MDX-LEdj9027@gmail.com wrote:
How do I Select all the characters between double quotes? When I use Ctrl+Alt+B when the cursor is somewhere inside the double quotes, it selects all the characters inside the quotes AND the quotes themselves.
Can I change this so that I can restrict selection within the quotes without the quotes?
If you create a macro or command with the same shortcut you'll override the menu item.
I've attached a macro that might do what you want, but you may have to customize it.
It works great. Thank you.
One last thing In the second find with options in the macro, the regex used is "[^\"]+ Am newbie to regex too. :confused: The question is why use "" 2 extra times when "[^"]+ also works?
Oliver Taylor-2 wrote:
Jun 07, 2009; 04:05am — by Oliver Taylor-2
I've attached a macro that might do what you want, but you may have to customize it.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Jun 7, 2009, at 4:55 AM, MDX-LE wrote:
In the second find with options in the macro, the regex used is "[^\ "]+ Am newbie to regex too. :confused: The question is why use "" 2 extra times when "[^"]+ also works?
That's just how slashes are displayed in the macro window. I'd guess it's an escaped way of displaying a slash. But you're right, that is the regex.