[Lazarus] Code Folding mess and Code Divider feature
Michael Van Canneyt
michael at freepascal.org
Fri Mar 13 20:46:24 CET 2009
On Fri, 13 Mar 2009, Martin Friebe wrote:
> Graeme Geldenhuys wrote:
> > Hi,
> >
> > This relates to the new bug report:
> > http://bugs.freepascal.org/view.php?id=13322
> >
> > Code Folding seems to have gone way overboard! It simply makes the
> > editor look like a mess at the moment (Lazarus svn trunk revision).
> > What is the end goal of code folding? Maybe is in the middle of the
> > overall goal and I am simply acting to quickly. Either way, I will
> > voice my concerns...
> >
> There is a general plan/idea to add some configuration (have to see how
> much) to define what you want to have foldable and what not. It wasn't
> seen as urgent yet (at least not by me...)
>
> Most (if not all) of the places that allow folding now, do so in Delphi
> as well. this is part of why they have been added, to make it easier for
> (ex-) Delphi users.
>
> IMHO most of the new ones are reasonable?
> - Except maybe for: "Program" / "Unit" and "Implementation" /
> "interface"; but they don't occur very often in a normal unit.
> - Maybe discussable are "var" "Canost" "type" blocks? Think is they can
> be very useful for bigger "var" sections (but I agree they can be
> irritating with just on line in it)
> - Folding at class / private / public => IMHO should be ok?
> - Folding at "procedure" in addition to the begin => arguable, if it
> should be instead of the begin?
>
> Will be interested to see, if other people will voice opinions, which of
> the new foldings they like, which not....
As long as it can be switched off, you won't hear me complaining :-)
Michael.
More information about the Lazarus
mailing list