anchor.diff:  %%
   %% %CopyrightBegin%
   %%
  -%% Copyright Ericsson AB 2011. All Rights Reserved.
  +%% Copyright Ericsson AB 2011-2012. All Rights Reserved.
   %%
   %% The contents of this file are subject to the Erlang Public License,
   %% Version 1.1, (the "License"); you may not use this file except in
  
positive.code:     wxListCtrl:refreshItems(Grid, Min, Max),
      {noreply, State};
  handle_info({error, Error}, State = #state{frame=Frame}) ->
      Dlg = wxMessageDialog:new(Frame, Error),
      wxMessageDialog:showModal(Dlg),
      wxMessageDialog:destroy(Dlg),
      {noreply, State};
  
  handle_info(Event, State) ->
      io:format("~p:~p, handle info ~p\n", [?MODULE, ?LINE, Event]),
      {noreply, State}.
  
  terminate(_Event, #state{pid=Pid, attrs=Attrs}) ->
  
negative.code: 	      true -> [];
  	      false -> [caseless]
  	  end,
      Dir = case Dir0 of
  	      true -> 1;
  	      false -> -1
  	  end,
      Res = case re:compile(Str, Opt) of
  	      {ok, Re} ->
  		  search(Row, Dir, Re, Table);
  	      {error, _} -> false
  	  end,
      Parent ! {self(), Res},
      S#holder{search=Res}.
  
  