anchor.diff:  end;
   
   
  -{ TfmLexerProp }
  -
   procedure TfmLexerProp.FormCreate(Sender: TObject);
   begin
  +  Localize;
  +
     Adapter:= TATAdapterEControl.Create(Self);
     Adapter.AddEditor(edSample);
   
  
positive.code: 
    F:= TfmLexerProp.Create(nil);
    try
      DoLocalize_FormLexerProp(F);
  
      DoApplyLexerStylesMap(an, an2);
      EditorApplyTheme(F.edSample);
  
  
negative.code:   if not FileExists(fn) then exit;
    ini:= TIniFile.Create(fn);
    try
      Caption:= ini.ReadString(section, '_', Caption);
      with ButtonPanel1.OKButton do Caption:= msgButtonOk;
      with ButtonPanel1.CancelButton do Caption:= msgButtonCancel;
  
      with TabSheetGeneral do Caption:= ini.ReadString(section, 'tab_gen', Caption);
      with TabSheetComments do Caption:= ini.ReadString(section, 'tab_cmt', Caption);
      with TabSheetStyles do Caption:= ini.ReadString(section, 'tab_st', Caption);
      with TabSheetNotes do Caption:= ini.ReadString(section, 'tab_not', Caption);
  
      with LabelLexerName do Caption:= ini.ReadString(section, 'gen_nam', Caption);
      with LabelFileTypes do Caption:= ini.ReadString(section, 'gen_typ', Caption);
      with LabelSample do Caption:= ini.ReadString(section, 'gen_smp', Caption);
  
      with LabelCmtLine do Caption:= ini.ReadString(section, 'cmt_line', Caption);
      with LabelCmtStream do Caption:= ini.ReadString(section, 'cmt_str', Caption);
      with LabelCmtFull do Caption:= ini.ReadString(section, 'cmt_full', Caption);
  
      with LabelStylesCmt do Caption:= ini.ReadString(section, 'styles_cmt', Caption);
      with LabelStylesStrings do Caption:= ini.ReadString(section, 'styles_str', Caption);
  
      with LabelColorBg do Caption:= ini.ReadString(section, 'col_bg', Caption);
      with LabelColorFont do Caption:= ini.ReadString(section, 'col_fon', Caption);
      with LabelColorBorder do Caption:= ini.ReadString(section, 'col_bor', Caption);
  
      with LabelBorder do Caption:= ini.ReadString(section, 'bor', Caption);
      with LabelBorderL do Caption:= ini.ReadString(section, 'bor_l', Caption);
      with LabelBorderR do Caption:= ini.ReadString(section, 'bor_r', Caption);
      with LabelBorderT do Caption:= ini.ReadString(section, 'bor_t', Caption);
      with LabelBorderB do Caption:= ini.ReadString(section, 'bor_b', Caption);
  
      with LabelFontStyles do Caption:= ini.ReadString(section, 'fon_st', Caption);
      with chkBold do Caption:= ini.ReadString(section, 'fon_b', Caption);
      with chkItalic do Caption:= ini.ReadString(section, 'fon_i', Caption);
      with chkUnder do Caption:= ini.ReadString(section, 'fon_u', Caption);
      with chkStrik do Caption:= ini.ReadString(section, 'fon_s', Caption);
  
      {
      with LabelStyleType do Caption:= ini.ReadString(section, 'typ_', Caption);
      with edStyleType do Items[0]:= ini.ReadString(section, 'typ_mi', Items[0]);
      with edStyleType do Items[1]:= ini.ReadString(section, 'typ_col_st', Items[1]);
      with edStyleType do Items[2]:= ini.ReadString(section, 'typ_col', Items[2]);
      with edStyleType do Items[3]:= ini.ReadString(section, 'typ_col_bg', Items[3]);
      }
  
      with LabelInfoThemes do Caption:= ini.ReadString(section, 'info_theme', Caption);
  
      DoLocString(msgBorderTypeNone, ini, section, 'bty_none');
      DoLocString(msgBorderTypeSolid, ini, section, 'bty_solid');
  