Ignore:
Timestamp:
Aug 19, 2024, 10:58:23 AM (3 months ago)
Author:
chronos
Message:
  • Added: Allow to hide main toolbar.
  • Fixed: Update cursor position in status bar.
  • Fixed: Memory leak in target code form.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormTargetCode.pas

    r149 r157  
    2323    procedure AFormatCodeExecute(Sender: TObject);
    2424    procedure AShrinkCodeExecute(Sender: TObject);
     25    procedure FormDestroy(Sender: TObject);
    2526  public
    2627    procedure SetHighlighter(SourceExt: string);
     
    8081end;
    8182
     83procedure TFormTargetCode.FormDestroy(Sender: TObject);
     84begin
     85  if Assigned(SynEditTarget.Highlighter) then
     86    SynEditTarget.Highlighter.Free;
     87end;
     88
    8289procedure TFormTargetCode.SetHighlighter(SourceExt: string);
    8390begin
Note: See TracChangeset for help on using the changeset viewer.