On Sat, Mar 14, 2009 at 8:11 AM, Hans-Peter Diettrich
drdiettri...@aol.comwrote:
The next logical step is unfolding include directives, so that the
included files can be inlined in the editor. This is what Delphi users
will need urgently, and every user will appreciate the capability of
On Sat, Mar 14, 2009 at 5:51 PM, Hans-Peter Diettrich
drdiettri...@aol.com wrote:
You have the same
include name, but different implementations depending on the platform.
How do you inline something like that, or search across such includes?
Exactly as the IDE does it, in the navigation
Martin Friebe schrieb:
Are all 3 files units? with unit keyword at the start, and
implementation/interface sections
if you have an include file, with no unit, no interface /
implementation = then procedure is the top level fold (divider
level = 1)
The next logical step is unfolding
Graeme Geldenhuys schrieb:
- Folding at procedure in addition to the begin = arguable, if it
should be instead of the begin?
I'm not sure about this one either. I would have thought the first
'begin' after a procedure or function should be ok.
Procedures can have large parameter lists,
On Fri, Mar 13, 2009 at 5:52 PM, Martin Friebe laza...@mfriebe.de wrote:
In a program it differs from a unit, because you do not have the
implementation/interface section.
Include files may differ again.
OK, thanks...
I then played with the levels to see how they differ. After changing
On Sat, Mar 14, 2009 at 8:11 AM, Hans-Peter Diettrich
drdiettri...@aol.com wrote:
will need urgently, and every user will appreciate the capability of
searching and find-and-replace in the entire resulting text.
I was thinking about 'find' and 'find-and-replace' to work for include
files as
Graeme Geldenhuys schrieb:
I was thinking about 'find' and 'find-and-replace' to work for include
files as well, but I could get my head around a solution. Think about
FPC code where includes are based on platforms.
Yes, I know that. This practice is almost the only argument for using
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
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?
On Fri, Mar 13, 2009 at 2:16 PM, Martin Friebe laza...@mfriebe.de wrote:
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
Graeme Geldenhuys wrote:
code folding. The idea of draw code divider was simply to draw a
horizontal line at the end of each procedure or method (like visual
basic 6 did). I have no interest in drawing horizontal divider lines
wherever code folding can occur. And with the current verbose
On Fri, Mar 13, 2009 at 4:10 PM, Martin Friebe laza...@mfriebe.de wrote:
so they are all with
Settings:
Code Folding: Enabled
Divider Draw Level: 1
?
Yes
In that case the first picture is wrong = with DDL=1 there should be no
line between procedures (it would be at the end of the
Martin Friebe wrote:
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.
On Fri, Mar 13, 2009 at 22:16, Martin Friebe laza...@mfriebe.de wrote:
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
Graeme Geldenhuys wrote:
In that case the first picture is wrong = with DDL=1 there should be no
line between procedures (it would be at the end of the unit level.)
Not sure if complete:
DDL 1: unit level
DDL 2: implementation/ interface
DDL 3: Procedure implementation / class declaration
Stephano wrote:
Martin Friebe wrote:
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
On Sat, Mar 14, 2009 at 02:03, Martin Friebe laza...@mfriebe.de wrote:
Not yet.
this will at earliest be implemented, when individual folds can be
configured. The same applies for repeat/until
It may also have to wait fro some more/other refactoring on the folding.
The highlighting currently
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
18 matches
Mail list logo