Re: Brace, bracket pretty format needed
- To: mathgroup at smc.vnet.net
- Subject: [mg98993] Re: [mg98518] Brace, bracket pretty format needed
- From: Curtis Osterhoudt <cfo at lanl.gov>
- Date: Thu, 23 Apr 2009 06:44:49 -0400 (EDT)
- Organization: LANL
- References: <200904110757.DAA22326@smc.vnet.net>
- Reply-to: cfo at lanl.gov
I'm sorry for the late reply. Daniel's colored matching brackets code was what I originally thought of, but there is a possibly quicker way to check for matching brackets, which I use quite often: Put your cursor in the midst of a nasty bit of code, and press (at least on linux) the combination of Ctrl-Shift-B one or more times. The highlight should expand to successively more general levels of the expressions -- this is often useful to me to see where a function argument ends, and so forth. Best wishes, C.O. On Saturday 11 April 2009 01:57:30 am meitnik wrote: > Hi > > Due to my visual limitations, trying to keep track of all the braces/ > brackets can become very frustrating for me. I need some button on a > palette that will indent and clean up the braces/brackets so I can > tell what is going on. The color change for unmatched stuff is good > but what I really want is a different color for each level of > brace,bracket use. Anyone please have such a critter to share? Thank > you > > -- ================================== Curtis Osterhoudt cfo at remove_this.lanl.and_this.gov PGP Key ID: 0x4DCA2A10 ==================================