[TxMt] Characters and Mathematical Operators

Robin Houston robin.houston at gmail.com
Sun Jun 10 18:02:41 UTC 2007


On 6/10/07, Brad Hutchins <oshybrid at gmail.com> wrote:
>
> So to me this appears customizing the syntax of symbols and math
> operators.


Just symbols, I think. Math operators are keyword.operator.arithmetic.ruby.


>   But when I Create a new Syntax element and set the scope to "
> constant.other.symbol.ruby" the symbols and math operators don't change to
> what I want.


It works for me! If I have

  puts :foo

for example. the symbol :foo changes to whatever appearance I specify for
constant.other.symbol.ruby.

You havent *actually* put that leading space in your scope selector, have
you? That would stop it working. Also, if you click in a symbol that isn't
being displayed as you specify and press control-shift-P, does it definitely
have the constant.other.symbol.ruby scope?

Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070610/7d9bbdbd/attachment.html>


More information about the textmate mailing list