In BBEdit, TeXShop, Xcode, and I expect several other editors, one can double-click one half of a pair of delimiters (e.g., braces, brackets, or parentheses), the editor will find its other half, and then it will select the delimiters and all the text in between. I noticed you can't do this in TextMate. Looking through the help, I noticed that you can do this by placing the cursor in the right place and typing cmd-shft-b, but it is much easier to double-click to get the same result. This has also been requested in the wiki, but I couldn't find a response -- is something like this planned? If not, consider this another request for this feature. :-)
Thank you,
-- Gary
Hello,
I'm making a "DOS command prompt". It uses REM in front of a line to "remark" that line. How can I set this into the bundle. -- Sincerely,
Patrick Mast, xHarbour.com Inc. http://www.xHarbour.com
On 24/1/2006, at 11:04, Patrick Mast wrote:
I'm making a "DOS command prompt". It uses REM in front of a line to "remark" that line. How can I set this into the bundle.
Did you read about language grammars [1]?
The rule would be something like (I assume one whitespace character is required behind REM):
{ name = "comment.line.dos"; match = "^\s*REM\s.*$"; },
Allan,
I'm making a "DOS command prompt". It uses REM in front of a line to "remark" that line. How can I set this into the bundle.
Did you read about language grammars [1]? The rule would be something like (I assume one whitespace character is required behind REM):
{ name = "comment.line.dos"; match = "^\s*REM\s.*$"; },
Works perfect. Thank you. -- Sincerely,
Patrick Mast, xHarbour.com Inc. http://www.xHarbour.com
On 24/1/2006, at 6:56, Gary L. Gray wrote:
[....] I noticed that you can do this by placing the cursor in the right place and typing cmd-shft-b, but it is much easier to double- click to get the same result. This has also been requested in the wiki, but I couldn't find a response -- is something like this planned?
It's a noted request and will be implemented eventually. As for what's easier, that's certainly not objective.
On Jan 24, 2006, at 7:58 AM, Allan Odgaard wrote:
On 24/1/2006, at 6:56, Gary L. Gray wrote:
[....] I noticed that you can do this by placing the cursor in the right place and typing cmd-shft-b, but it is much easier to double- click to get the same result. This has also been requested in the wiki, but I couldn't find a response -- is something like this planned?
It's a noted request and will be implemented eventually.
Cool. Thank you.
As for what's easier, that's certainly not objective.
No it is not, but give enough time and money, one could do a study and find out what is easiest for the largest group of users. The fact that so many editors already do this does indicate that a large number of people do at least *like* being able to double-clicking delimiters to find matching pairs. :-)
-- Gary