anchor.diff:                    FunPatterns = refac_syntax:clause_patterns(hd(Clause)),    
                     AppPar =  refac_syntax:application_arguments(AppNode),  
                     {Result, FunPatterns, AppNode, AppPar, FunNode};          
  -                {error, _} -> 
  -                  exit({error, "The function definition can not locate"})
  +                {error, Reason} -> 
  +                  {error, Reason}
                 end;
  -            {error, _} -> exit({error, " Bad position"})
  +            {error, Reason} -> {error, Reason}
             end;
  -        {error, _} -> 
  -          exit({error, "The selected expression can not locate"})
  +        {error, Reason} -> 
  +	      {error, Reason}
         end
     end.
   
  
positive.code: check_parameters(FirstPar, Number, Arity, FunPatterns, AppNode, AppPar) ->
      case (Number < 1) or (Number > Arity) of
        true ->
  	  exit({error,
  		"It is not possible to tuple " ++
  		  integer_to_list(Number) ++ " parameter"});
        false ->
  	  case AppNode of
  	    [] -> search_par(FunPatterns, Number, FirstPar);
  
negative.code: %% @end
  %% =====================================================================
  pos_to_arg(AppNode, Pos)->
      Args = refac_syntax:application_arguments(AppNode),
      List = lists:dropwhile(fun(Pat)->
  				   {Pos11, _Pos22} = refac_util:get_range(Pat),
  				   Pos11 < Pos
  			   end, Args),
      case List of
  	[] -> {error, "You have not selected a parameter!"};
  	_ -> hd(List)
      end.
  
  
  %% =====================================================================
  