Ignore:
Timestamp:
May 8, 2016, 10:56:38 PM (8 years ago)
Author:
chronos
Message:
  • Added: Use block start/end for source import format parsing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormImportFormat.pas

    r22 r25  
    1616    ButtonOk: TButton;
    1717    ButtonCancel: TButton;
     18    EditBlockEnd: TEdit;
     19    EditBlockStart: TEdit;
    1820    EditName: TEdit;
    1921    EditAcronymStart: TEdit;
     
    3032    Label6: TLabel;
    3133    Label7: TLabel;
     34    Label8: TLabel;
     35    Label9: TLabel;
    3236  private
    3337    { private declarations }
     
    4953begin
    5054  EditName.Text := ImportFormat.Name;
     55  EditBlockStart.Text := ImportFormat.Block.StartString;
     56  EditBlockEnd.Text := ImportFormat.Block.EndString;
    5157  EditAcronymStart.Text := ImportFormat.Acronym.StartString;
    5258  EditAcronymEnd.Text := ImportFormat.Acronym.EndString;
     
    6066begin
    6167  ImportFormat.Name := EditName.Text;
     68  ImportFormat.Block.StartString := EditBlockStart.Text;
     69  ImportFormat.Block.EndString := EditBlockEnd.Text;
    6270  ImportFormat.Acronym.StartString := EditAcronymStart.Text;
    6371  ImportFormat.Acronym.EndString := EditAcronymEnd.Text;
Note: See TracChangeset for help on using the changeset viewer.