2
// <copyright see="prj:///doc/copyright.txt"/>
3
// <license see="prj:///doc/license.txt"/>
4
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
5
// <version value="$version"/>
12
using MonoDevelop.Core.Properties;
13
using MonoDevelop.Ide.Gui.Undo;
15
namespace MonoDevelop.TextEditor.Document
18
/// This interface describes the result a search strategy must
19
/// return with a call to find next.
21
public interface ISearchResult
24
/// Returns the file name of the search result. This
25
/// value is null till the ProvidedDocumentInformation
33
/// This property is set by the find object and need not to be
34
/// set by the search strategies. All search results that are returned
35
/// by the find object do have a ProvidedDocumentInformation.
37
ProvidedDocumentInformation ProvidedDocumentInformation {
42
/// The offset of the pattern match
49
/// The length of the pattern match.
56
/// This method creates a document for the file FileName. This method works
57
/// only after the ProvidedDocumentInformation is set.
59
IDocument CreateDocument();
62
/// Replace operations must transform the replace pattern with this
65
string TransformReplacePattern(string pattern);