Code folding for Delphi?

Code folding for Delphi?

1
NewbieNewbie
1

    Apr 14, 2006#1

    Is there a file, so I can fold Delphi code, like

    begin
    and
    end;
    together? Cuz it's not in Delphi 6, which I use.

    Or maybe someone can tell me how to realize that?

    I already imported the syntax file for Delphi, which works well.

    6,686585
    Grand MasterGrand Master
    6,686585

      Apr 14, 2006#2

      In your wordfile for language Delphi you have to specify the open and close fold strings for Delphi.

      /Open Fold Strings = "begin"
      /Close Fold Strings = "end;"

      I don't know anything about Delphi, so I can't write here the correct lines.

      For a help about /Open Fold Strings = and /Close Fold Strings = see the file Syntax.txt in the UltraEdit program directory or the UE help topic about Syntax Highlighting. You can find examples in the installed wordfile.txt in the UltraEdit program directory.
      Best regards from an UC/UE/UES for Windows user from Austria