Re: match braces?

2009-09-04 Thread Steven D'Aprano
On Fri, 04 Sep 2009 00:25:34 -0700, lallous wrote: > Hello, > > Thank you all for your replies. > > A simple suggestion as Chris' actually might help. > > I am used to two spaces indentation since years, and apparently two > spaces won't make it clear if no visuals were present (braces, or > be

Re: match braces?

2009-09-04 Thread lallous
Hello, Thank you all for your replies. A simple suggestion as Chris' actually might help. I am used to two spaces indentation since years, and apparently two spaces won't make it clear if no visuals were present (braces, or begin/end, ...) Though it is not comfortable to change a style, I will

Re: match braces?

2009-09-03 Thread John Nagle
lallous wrote: Hello In C/C++ you use the braces where as in Python you use the indentation levels. Most editors offer a Ctrl+[ to match the braces so that you can easily identify the scopes (more correctly "statements blocks"). I am finding it difficult to see blocks and/or jump from end to st

Re: match braces?

2009-09-03 Thread Joshua Judson Rosen
Grant Edwards writes: > > On 2009-09-03, Ben Finney wrote: > > Tim Chase writes: > > > > > > Any editor worth its salt will offer indentation-based folding (I know > > > vim does, and I would be astonished if emacs didn't. > > > > Emacs calls that ???hide/show???, and the ???hs-minor-mode??? can

Re: match braces?

2009-09-03 Thread Grant Edwards
On 2009-09-03, Ben Finney wrote: > Tim Chase writes: > >> Any editor worth its salt will offer indentation-based folding (I know >> vim does, and I would be astonished if emacs didn't. > > Emacs calls that ???hide/show???, and the ???hs-minor-mode??? can be enabled > for > any buffer (and can th

Re: match braces?

2009-09-03 Thread Ben Finney
Tim Chase writes: > Any editor worth its salt will offer indentation-based folding (I know > vim does, and I would be astonished if emacs didn't. Emacs calls that “hide/show”, and the ‘hs-minor-mode’ can be enabled for any buffer (and can thus of course be automatically enabled on defined condit

Re: match braces?

2009-09-03 Thread Tim Chase
In C/C++ you use the braces where as in Python you use the indentation levels. Most editors offer a Ctrl+[ to match the braces so that you can easily identify the scopes (more correctly "statements blocks"). I am finding it difficult to see blocks and/or jump from end to start with some IDE hotke

Re: match braces?

2009-09-03 Thread Chris Rebert
On Thu, Sep 3, 2009 at 2:38 AM, lallous wrote: > Hello > > In C/C++ you use the braces where as in Python you use the indentation > levels. > Most editors offer a Ctrl+[ to match the braces so that you can easily > identify the scopes (more correctly "statements blocks"). > > I am finding it diffic

match braces?

2009-09-03 Thread lallous
Hello In C/C++ you use the braces where as in Python you use the indentation levels. Most editors offer a Ctrl+[ to match the braces so that you can easily identify the scopes (more correctly "statements blocks"). I am finding it difficult to see blocks and/or jump from end to start with some IDE