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: {}[]()
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@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-... Sent from the textmate users mailing list archive at Nabble.com.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
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@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@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-... Sent from the textmate users mailing list archive at Nabble.com.
textmate mailing list textmate@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@lists.macromates.com http://lists.macromates.com/listinfo/textmate
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@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@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@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-... Sent from the textmate users mailing list archive at Nabble.com.
textmate mailing list textmate@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@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@hotchkissconsulting.net Google Talk: sam@hotchkissconsulting.net Skype: hotchkiss.consulting http://www.hotchkissconsulting.net/
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate