From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "Douglas A. Gwyn" Message-ID: <3C844A15.FC687ACD@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <200203041524.g24FOhP14640@cbe.ericsson.se> Subject: Re: Fwd: Re: [9fans] samuel (fwd) Date: Tue, 5 Mar 2002 09:41:22 +0000 Topicbox-Message-UUID: 5f5f6234-eaca-11e9-9e20-41e7f4b1d025 Bengt Kleberg wrote: > I would like for the text editor to tell me (with a single click) where > the start/end of a construction (be it function/if/while/...) is, if i > am at the end/start. sort of balancing the parantheses(sp?). > this is only neccessary if the language is not always visually balanced, like > a few languages are (ex: python). I have recently run into the following style: #if some_condition /* { */ .... #else /* } comment about new condition { */ .... #endif /* } */ This turns out to be very helpful for brace-matching editors like sam (when double-clicking on the "inside" of a brace).