Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>:

> Hi,
>
> Does Lazarus support some sort of code folding 'region' keyword like
> the Visual Studio IDE does?  I know Lazarus automatically handle
> begin..end etc. But can the user add there own code folding regions
> around their code.
>
> Here is an example of regions used in the Visual Studio IDE for C# code
>
>  #Region " Windows Form Designer generated code "
> ...
> <System.Diagnostics.DebuggerStepThrough()> _
> Private Sub InitializeComponent()
> Me.components = New System.ComponentModel.Container
> ...
> Me.ImageList1 = _
>     New System.Windows.Forms.ImageList(Me.components)
> ...
> #End Region

Just add that to the highlighter TSynPasSyn and it will support it.

Mattias

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

Reply via email to