[TxMt] Re: Looking for highlighting braces, curly and brackets

Jonas O. ezjonas at gmail.com
Fri Nov 5 10:00:10 UTC 2010


It's a scintilla feature, I don't know what TextMate uses though...
By the way I've given up on textmate, I'm trying to make my own
cross-platform scintilla/qt/qscintilla source code editor...
And I'm far from finishing the task...

On Wed, Nov 3, 2010 at 09:43, Sam Hotchkiss <sam at hotchkissconsulting.net> wrote:
> I'd love to know your solution here-- that's a great idea, would be very useful
>
> On Mon, Nov 1, 2010 at 10:59 AM, Ben Wilson <dausha at gmail.com> wrote:
>> Eats braces? It sounds like a regex problem. Look for "Lookahead" and
>> "Lookbehind" logic. That should let you include them.
>>
>> On Mon, Nov 1, 2010 at 11:20 AM, jokoon <ezjonas at gmail.com> wrote:
>>>
>>> Hello :)
>>>
>>> I have read that the C/C++ grammar "eats" all braces so that it is not
>>> possible to highlight them with the punctuation identifier.
>>>
>>> Apparently I have to modify the default grammar to something different, I
>>> tried to remove stuff that contains blocks and other similars, but I can't
>>> make it work...
>>>
>>> Can somebody help me ? I just want to be able to change the colors of those
>>> characters:
>>> {}[]()
>>> --
>>> View this message in context: http://old.nabble.com/Looking-for-highlighting-braces%2C-curly-and-brackets-tp30105415p30105415.html
>>> Sent from the textmate users mailing list archive at Nabble.com.
>>>
>>>
>>> _______________________________________________
>>> textmate mailing list
>>> textmate at lists.macromates.com
>>> http://lists.macromates.com/listinfo/textmate
>>>
>>
>>
>>
>> --
>> Ben Wilson
>> "We cannot determine the character or nature of a system within
>> itself. Efforts to do so will only generate confusion and disorder."
>> Boyd
>>
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>>
>
>
>
> --
> Sam Hotchkiss :: Senior Web Developer
> Hotchkiss Consulting
> 110 Second Street, Suite 601
> Albuquerque, New Mexico 87102
> P: 505.234.6269 :: F:  630.604.8008
> E-mail: sam at hotchkissconsulting.net
> Google Talk: sam at hotchkissconsulting.net
> Skype: hotchkiss.consulting
> http://www.hotchkissconsulting.net/
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>


More information about the textmate mailing list