anchor.diff:  end;
   
   procedure TEditorFrame.RestoreSavedLexer(Ed: TATSynEdit);
  -begin
  -  if Assigned(Ed.AdapterForHiliteBackup) then
  -  begin
  -    Ed.AdapterForHilite:= Ed.AdapterForHiliteBackup;
  -    Ed.AdapterForHiliteBackup:= nil;
  +var
  +  EdIndex: integer;
  +  Ada: TATAdapterHilite;
  +begin
  +  EdIndex:= EditorObjToIndex(Ed);
  +  Ada:= FLexerBackup[EdIndex];
  +  if Assigned(Ada) then
  +  begin
  +    Ed.AdapterForHilite:= Ada;
  +    FLexerBackup[EdIndex]:= nil;
       Ed.Update;
       DoOnUpdateStatusbar; //replace lexer name 'none' to restored one
     end;
  
positive.code:       if (UiOps.MaxLineLenForEditingKeepingLexer>0) and
          (St.LinesLen[Caret.PosY]>=UiOps.MaxLineLenForEditingKeepingLexer) then
          begin
            Ed.AdapterForHiliteBackup:= Ed.AdapterForHilite;
            Ed.AdapterForHilite:= nil;
  
            if Splitted and EditorsLinked then
            begin
             EdOther.AdapterForHiliteBackup:= EdOther.AdapterForHilite;
             EdOther.AdapterForHilite:= nil;
            end;
  
  
negative.code:     FSaveHistory: boolean;
      FEditorsLinked: boolean;
      FCachedTreeview: array[0..1] of TTreeView;
      FLexerBackup: array[0..1] of TATAdapterHilite;
      FLexerChooseFunc: TecLexerChooseFunc;
      FLexerNameBackup: string;
      FBracketHilite: boolean;
  