On Fri, 27 Oct 2006 16:43:28 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> In BDS2006 and some Delphi 7 Add-on creates a horizontal line in the
> editor between procedures, so it is easy to where each procedure
> starts.
> 
> The Lazarus editor already draws such lines when you have Code Folding
> enabled in the editor.
> 
> How much work would be involved to add another Editor Option to just
> draw procedure dividers, without the Code Folding?

IMO this should be done with code folding. The current rule
(begin..end) was added by me only for demonstration. The original
thread about code folding included many more ideas, where a block
should start and end. I implemented a generic algorithm. Now we can
play with it and define what should be blocks. Maybe even add
some options for personal taste.

 
> Sorry, but I know nothing about SynEdit, or even what code to look at.

Component palette SynEdit -> Right click on TSynPasSyn -> Open Unit.
Search for StartPascalCodeFoldBlock.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to