anchor.diff:      Fun = fun (Exprs) ->
   		  {Exprs1, Exprs2} = lists:splitwith(
   				       fun (E) ->
  -					       refac_util:get_start_end_loc(E) =/= Range1
  +                                               refac_util:get_start_end_loc(E) =/= Range1
   				       end, Exprs),
   		  case Exprs2 of
   		      [] -> {Exprs, false};
   		      _ -> {Exprs21, Exprs22} =
   			       lists:splitwith(fun (E) ->
  -						       refac_util:get_start_end_loc(E) =/= Range2
  +                                                       refac_util:get_start_end_loc(E) =/= Range2
   					       end, Exprs2),
   			   case Exprs22 of
   			       [] -> {Exprs, false}; %% THIS SHOULD NOT HAPPEN.
   			       _ -> 
  -                                   {Exprs1 ++ [refac_util:update_ann(MApp, {range, refac_util:get_start_end_loc(Exprs21)})
  -                                               | tl(Exprs22)], true}
  +                                   Range3=get_start_end_loc_with_comment(Exprs21++[hd(Exprs22)]),
  +                                   {Exprs1 ++ [refac_util:update_ann(MApp, {range, Range3})| tl(Exprs22)], true}
   			   end
   		  end
   	  end,
  
positive.code:     FunPos = refac_syntax:get_pos(Fun),
      {FrVars, BdVars} = get_free_bd_vars(ExpList),
      VarsToExport = vars_to_export(Fun, End, BdVars),
      AnnAST1 = do_fun_extraction(AnnAST, ExpList, NewFunName, FrVars, VarsToExport, {FunName, FunArity, FunPos}),
      case Editor of
  	emacs ->
  	    Res = [{{FileName, FileName}, AnnAST1}],
  
negative.code: %% =============================================================================================
  %%-spec(fun_extraction/5::(filename(), pos(), pos(), string(), integer()) ->
  %% 	     {'ok', [filename()]}).
  fun_extraction(FName, Start, End, NewFunName, TabWidth) ->
      fun_extraction(FName, Start, End, NewFunName, TabWidth, emacs).
  
  fun_extraction_1(FName, Start, End, NewFunName, TabWidth) ->
      fun_extraction_1(FName, Start, End, NewFunName, TabWidth, emacs).
  
  %%-spec(fun_extraction_eclipse/5::(filename(), pos(), pos(), string(),integer()) ->
  %% 	      {ok, [{filename(), filename(), string()}]}).
  