blob: 57676eecf423f546e28e31ad2aa76e9ee367d7cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// This file contain internal APIs that are subject to change without notice.
// Use at your own risk.
//
namespace Microsoft.VisualStudio.Text.Operations
{
/// <summary>
/// Provides a service to navigate between search results on a <see cref="ITextBuffer"/> and to
/// perform replacements.
/// </summary>
public interface ITextSearchNavigator2 : ITextSearchNavigator
{
/// <summary>
/// Indicates the ranges that should be searched (if any).
/// </summary>
/// <remarks>
/// If this value to a non-null value will effectively override the ITextSearchNavigator.SearchSpan property.
/// </remarks>
NormalizedSnapshotSpanCollection SearchSpans { get; set; }
}
}
|