In emacs there is an option to highlight parentheses pairs when your caret is on a parenthesis -- show-paren. Can a similar effect be achieved in TextMate? Right now when you move over a parenthesis the matching one is highlighted very quickly and then goes back to normal, I usually miss it.
-- Daniel
On Apr 6, 2006, at 3:25 PM, Allan Odgaard wrote:
On 6/4/2006, at 21:46, Daniel Harple wrote:
In emacs there is an option to highlight parentheses pairs when your caret is on a parenthesis -- show-paren. Can a similar effect be achieved in TextMate? [...]
Currently not.
However, you could add different colors to the braces etc for different nesting levels, to get permanent highlighting of matching braces, by using an appropriate scope selector. Not the same I know, but something.
Perhaps when dynamic scopes arrive?
Haris
On Apr 6, 2006, at 4:28 PM, Charilaos Skiadas wrote:
On 6/4/2006, at 21:46, Daniel Harple wrote:
In emacs there is an option to highlight parentheses pairs when your caret is on a parenthesis -- show-paren. Can a similar effect be achieved in TextMate? [...]
Currently not.
However, you could add different colors to the braces etc for different nesting levels, to get permanent highlighting of matching braces, by using an appropriate scope selector. Not the same I know, but something.
Perhaps when dynamic scopes arrive?
In a few of my languages I have something like this:
round-brackets = { patterns = ( { name = 'meta.group.braces.curly'; begin = '{'; end = '}'; patterns = ( { include = 'source.prototype.js.bracketed'; } ); }, { name = 'meta.group.braces.round'; begin = '('; end = ')'; patterns = ( { include = 'source.prototype.js.bracketed'; } ); }, ); };
You could rework that to color just the brackets themselves. But that would be permanent for that theme.
thomas Aylott—subtleGradient—oblivious@subtleGradient.com
On Thu, Apr 6, at 2:46 PM, Daniel Harple wrote:
In emacs there is an option to highlight parentheses pairs when your caret is on a parenthesis -- show-paren. Can a similar effect be achieved in TextMate?
Just one of several **basic editor functions** Allan can't seem to be bothered to implement. Others that come to mind are double-click on a bracket to select a block and the pathetic double-click-extend- selection behavior.
Gerd
On 4/6/06, Gerd Knops gerti-textmate@bitart.com wrote:
On Thu, Apr 6, at 2:46 PM, Daniel Harple wrote:
In emacs there is an option to highlight parentheses pairs when your caret is on a parenthesis -- show-paren. Can a similar effect be achieved in TextMate?
Just one of several **basic editor functions** Allan can't seem to be bothered to implement. Others that come to mind are double-click on a bracket to select a block and the pathetic double-click-extend- selection behavior.
Considering the large (and growing) number of featues he *has* implemented, and implemented very well, I'm just going to have to let him slide on the few that aren't quite finished.
-- Jack Baty Fusionary Media - http://www.fusionary.com
On 06 Apr 2006, at 23:36, Gerd Knops wrote:
On Thu, Apr 6, at 2:46 PM, Daniel Harple wrote:
In emacs there is an option to highlight parentheses pairs when your caret is on a parenthesis -- show-paren. Can a similar effect be achieved in TextMate?
Just one of several **basic editor functions** Allan can't seem to be bothered to implement. Others that come to mind are double-click on a bracket to select a block and the pathetic double-click-extend- selection behavior.
In case you didn't notice, everyone and his mom have a different view on what are the "basic functions" for a text editor. Those are yours.
-- FredB
To be just a bit more constructive ...
In emacs there is an option to highlight parentheses pairs when your caret is on a parenthesis -- show-paren. Can a similar effect be achieved in TextMate?
If your caret is in parens, or inside a code block, you can press cmd- shift-B and it'll highlight the current block your in. The highlight will start from the beginning paren/bracket/etc and go up to the matching/closing one.
Not exactly what you're after, but it might give you a visual that might be as helpful.
Hope that helps, -steve
On 4/6/06, Gerd Knops gerti-textmate@bitart.com wrote:
Just one of several **basic editor functions** Allan can't seem to be bothered to implement. Others that come to mind are double-click on a bracket to select a block and the pathetic double-click-extend- selection behavior.
Gerd
My God -- I have never seen a more approachable, humble, responsive, open, creative developer in my whole life. The mere fact that he provides an open venue for such blasphemous and idiotic statements only serves to increase Alan's calibre IMHO.
Are you being forced to use tm?
-- dc ----- David Clark Web Specialist Institute for Community Inclusion (http://www.communityinclusion.org/) david.clark@umb.edu (617) 287-4318