[SVN] Re: Latex Bundle find out if you are in math-mode

pinky pinkyundbrain2000 at gmx.net
Tue Apr 13 13:41:32 UTC 2010


Am 13.04.2010 um 14:58 schrieb Allan Odgaard:

> On 13 Apr 2010, at 14:52, pinky wrote:
> 
>> Bold is a command and its scope selector text.tex.latex seems to overrule string.other.math.block.tex if I simple duplicate the command and rewrite it according your instructions. My aim is not to use different key equivalents depending on the command.
> 
> The idea behind scopes and scope selectors is that you can reuse keys in different scopes.
> 
> Did you try alter the scope selector for your duplicated command?
> 
> More details in 13.5: http://manual.macromates.com/en/scope_selectors
Thanks I was using the wrong scope selector, you have to use 'text.tex.latex string.other.math'. Anyway thanks for the fast help.


More information about the textmate-dev mailing list