anchor.diff:      {S1, E1} = refac_misc:get_start_end_loc(SelExpList),
       MApp = mk_macro_app(MName, Args),
       Fun = fun (F) ->
  -		  {S, E} = refac_util:get_range(F),
  +		  {S, E} = refac_misc:get_start_end_loc(F),
   		  case (S =< S1) and (E1 =< E) of
  -		      true -> replace_expr_with_macro(F, {SelExpList, S1, E1}, MApp);
  -		      _ -> F
  +		    true -> replace_expr_with_macro(F, {SelExpList, S1, E1}, MApp);
  +		    _ -> F
   		  end
   	  end,
       Forms11 = [Fun(F) || F <- Forms1],
  
positive.code: 			[] -> {error, "You have not selected a sequence of expressions/patterns!"};
  			_ ->
  			    ExprList = [hd(Sel)],
  			    NeedBracket = need_bracket(refac_util:get_toks(FunDef), ExprList),
  			    {ok, AnnAST, [hd(Sel)], NeedBracket}
  		      end;
  		  _ -> {error, "You have not selected a sequence of expressions/patterns!"}
  
negative.code: 
  -spec(replace_expr_with_macro/3::(syntaxTree(), {[syntaxTree()], pos(), pos()}, syntaxTree()) ->
  				       syntaxTree()).
  replace_expr_with_macro(Form, {ExpList, SLoc, ELoc}, MApp) ->
      case length(ExpList) == 1 of
        true ->
  	  element(1, ast_traverse_api:stop_tdTP(fun replace_single_expr_with_macro_app/2, Form, {MApp, SLoc, ELoc}));
        _ ->
  	  element(1, ast_traverse_api:stop_tdTP(fun replace_expr_list_with_macro_app/2, Form, {MApp, SLoc, ELoc}))
      end.
  
  replace_single_expr_with_macro_app(Tree, {MApp, SLoc, ELoc}) ->
      case refac_misc:get_start_end_loc(Tree) of
        {SLoc, ELoc} ->
  	  {MApp, true};
        _ -> {Tree, false}
  