anchor.diff:      fCtxt := amcMisc;
     filterMessages(fCtxt);
   end;
  -{$ENDREGION}
  -
  -{$REGION ICEEditableOptions ----------------------------------------------------}
  -function TCEMessagesWidget.optionedWantCategory(): string;
  -begin
  -  exit('Messages');
  -end;
  -
  -function TCEMessagesWidget.optionedWantEditorKind: TOptionEditorKind;
  -begin
  -  exit(oekGeneric);
  -end;
  -
  -function TCEMessagesWidget.optionedWantContainer: TPersistent;
  -begin
  -  fEditableOptions.maxMessageCount:= fMaxMessCnt;
  -  fEditableOptions.autoSelect:= fActAutoSel.Checked;
  -  exit(fEditableOptions);
  -end;
  -
  -procedure TCEMessagesWidget.optionedEvent(anEvent: TOptionEditorEvent);
  -begin
  -  if anEvent = oeeAccept then
  -  begin
  -    fMaxMessCnt := fEditableOptions.maxMessageCount;
  -    fActAutoSel.Checked := fEditableOptions.autoSelect;
  -    clearOutOfRangeMessg;
  -  end;
  -end;
  -{$ENDREGION}
  -
  -{$REGION ICESessionOptionsObserver ---------------------------------------------}
  +
   procedure TCEMessagesWidget.setMaxMessageCount(aValue: Integer);
   begin
     if aValue < 5 then
  
positive.code:   private
      fMaxCount: Integer;
      fAutoSelect: boolean;
    published
      property maxMessageCount: integer read fMaxCount write fMaxCount;
      property autoSelect: boolean read fAutoSelect write fAutoSelect;
    end;
  
    TCEMessagesWidget = class(TCEWidget, ICEEditableOptions, ICEMultiDocObserver, ICEProjectObserver, ICEMessagesDisplay)
  
negative.code:     procedure clearbyContext(aCtxt: TCEAppMessageCtxt);
      procedure clearbyData(aData: Pointer);
    protected
      //
      function contextName: string; override;
      function contextActionCount: integer; override;
      function contextAction(index: integer): TAction; override;
      //
      property maxMessageCount: Integer read fMaxMessCnt write setMaxMessageCount;
      property autoSelectCategory: boolean read fAutoSelect write setAutoSelectCategory;
    public
      constructor create(aOwner: TComponent); override;
      destructor destroy; override;
      //
      procedure scrollToBack;
    end;
  
    function guessMessageKind(const aMessg: string): TCEAppMessageKind;
  