anchor.diff:  	    {error, Reason}
       end.
   
  --spec(fold_expression/3::(filename(), integer(), integer()) -> {ok, [filename()]} |{error, string()}).  
  -fold_expression(FName, Line, Col) ->
  -    case check_undo_process() of 
  -	ok ->  wrangler:fold_expression(FName, Line, Col);
  -	{error, Reason} ->
  -	    {error, Reason}
  -    end.
  +-spec(fold_expr_by_loc/4::
  +      (filename(), integer(), integer(), [dir()]) -> {ok, [{integer(), integer(), integer(), integer(), syntaxTree(), {syntaxTree(), integer()}}]}
  +							 | {error, string()}).
  +fold_expr_by_loc(FName, Line, Col, SearchPaths) ->
  +    case check_undo_process() of
  +      ok -> wrangler:fold_expr_by_loc(FName, Line, Col, SearchPaths);
  +      {error, Reason} -> {error, Reason}
  +    end.
  +
  +-spec(fold_expr_by_name/6::(filename(), string(), string(), string(), string(), [dir()]) ->
  +	     {ok, [{integer(), integer(), integer(), integer(), syntaxTree(), {syntaxTree(), integer()}}]}
  +		 | {error, string()}).
  +fold_expr_by_name(FileName, ModName, FunName, Arity, ClauseIndex, SearchPaths) ->
  +   case check_undo_process() of
  +      ok -> wrangler:fold_expr_by_name(FileName, ModName, FunName, Arity, ClauseIndex, SearchPaths);
  +      {error, Reason} -> {error, Reason}
  +    end.
  +
   	       
   -spec(instrument_prog/2::(filename(), [dir()]) ->{ok, [filename()]} | {error, string()}).
   instrument_prog(FName, SearchPaths) ->
  
positive.code: duplicated_code_in_dirs(FName, MinLines, MinClones) ->
      wrangler:duplicated_code_in_dirs(FName, MinLines, MinClones).
  
  -spec(expression_search/5::(filename(), integer(), integer(), integer(), integer()) -> {ok, [{integer(), integer(), integer(), integer()}]} | {error, string()}). 
  expression_search(FName, StartLine, StartCol, EndLine, EndCol) ->
      wrangler:expression_search(FName, {StartLine, StartCol}, {EndLine, EndCol}).
  
  
negative.code: 	    {error, Reason}
      end.
  
  -spec(duplicated_code_in_buffer/3::(filename(), string(), string()) ->{ok, string()}).        
  duplicated_code_in_buffer(FName, MinLines,  MinClones) ->
      wrangler:duplicated_code_in_buffer(FName, MinLines, MinClones).
  
  