Skip to content

1.0.6.1 — 'of object' / procedural-type formatting fix

Choose a tag to compare

@Alexl-git Alexl-git released this 05 Jun 23:28
· 341 commits to main since this release

Patch release — a formatting fix for of object method-pointer / event types.

Fixed

  • of object method-pointer / event types no longer break formatting. A type
    like TNotifyEvent = procedure(Sender: TObject) of object; confused two passes:
    the group parser treated the object modifier as an object...end block opener
    (stamping a spurious // object label on the unit's end. and cascading
    indentation), and the re-indent pass treated = procedure / = function as a
    routine declaration, closing the surrounding type section so every following
    declaration dropped a level. Both are now guarded -- the fixes fire only on
    of object and on procedure/function immediately after =, so real object
    blocks and routine declarations are unaffected. Procedural and method-pointer
    type declarations now keep correct indentation.

Includes everything from 1.0.6.0 (multi-line string corruption fix + the
Delphi10Compat/--d10 inline-var downgrade). See CHANGELOG.md for the full list.

Download

YADF-1.0.6.1.zip contains Win64 YADF.exe (CLI), Win32 YADFSetup.exe (settings
editor), Win32 YADFOT.bpl (IDE wizard), plus README/CHANGELOG/LICENSE. The prebuilt
YADF.exe needs no Delphi installed. Run yadf -h for the full option list.