1 interface inheriting from ITextRange
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\Tom.cs (1)
141
internal interface ITextSelection:
ITextRange
53 references to ITextRange
UIAutomationClientSideProviders (53)
MS\Internal\AutomationProxies\Tom.cs (8)
65
ITextRange
Range(int cp1, int cp2);
67
ITextRange
RangeFromPoint(int x, int y);
87
ITextRange
GetDuplicate();
101
TomBool InRange(
ITextRange
range);
103
TomBool IsEqual(
ITextRange
range);
150
new
ITextRange
GetDuplicate();
164
new TomBool InRange(
ITextRange
range);
166
new TomBool IsEqual(
ITextRange
range);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (9)
230
ITextRange
range = null;
249
ITextRange
range = GetVisibleRange();
273
ITextRange
range = _document.RangeFromPoint((int)screenLocation.X, (int)screenLocation.Y);
313
ITextRange
range = _document.Range(0, 0);
339
internal
ITextRange
GetVisibleRange()
345
ITextRange
range = _document.RangeFromPoint(x, y);
370
ITextRange
rangeAdjust = _document.Range(0, range.Start - 1);
398
ITextRange
rangeAdjust = _document.Range(range.End, end);
511
ITextRange
range = _document.Range(0, 0);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (36)
22
internal WindowsRichEditRange(
ITextRange
range, WindowsRichEdit pattern)
42
ITextRange
range = _range.GetDuplicate();
72
ITextRange
charRange = _range.GetDuplicate();
75
ITextRange
paraRange = _range.GetDuplicate();
128
ITextRange
range = _range.GetDuplicate();
160
ITextRange
visibleRange = _pattern.GetVisibleRange();
179
ITextRange
range = _pattern.Document.Range(start, start);
237
ITextRange
range = _range.GetDuplicate();
304
ITextRange
range = ((WindowsRichEditRange)targetRange)._range;
357
ITextRange
range = _range.GetDuplicate();
457
ITextRange
subrange = FirstUnit(_range);
510
ITextRange
subrange = LastUnit(_range);
551
private object GetAttributeValueForRange(
ITextRange
range, AutomationTextAttribute attribute)
697
private static object GetFontName(
ITextRange
range)
715
for (
ITextRange
unitRange = FirstUnit(range); NextUnit(end, unitRange, TomUnit.tomCharFormat); )
1115
ITextRange
charRange = _range.GetDuplicate();
1118
ITextRange
paraRange = _range.GetDuplicate();
1144
ITextRange
charRange = _range.GetDuplicate();
1147
ITextRange
paraRange = _range.GetDuplicate();
1173
ITextRange
charRange = _range.GetDuplicate();
1176
ITextRange
paraRange = _range.GetDuplicate();
1202
ITextRange
charRange = _range.GetDuplicate();
1205
ITextRange
paraRange = _range.GetDuplicate();
1229
internal static bool RangeGetPoint(
ITextRange
range, TomGetPoint type, out int x, out int y)
1283
private static
ITextRange
FirstUnit(
ITextRange
range)
1286
ITextRange
subrange = range.GetDuplicate();
1291
private static
ITextRange
LastUnit(
ITextRange
range)
1294
ITextRange
subrange = range.GetDuplicate();
1299
private static bool NextUnit(int end,
ITextRange
subrange, TomUnit unit)
1321
private static bool PreviousUnit(int start,
ITextRange
subrange, TomUnit unit)
1344
private static Rect CalculateOneLineRangeRectangle(
ITextRange
lineRange, Rect clientRect)
1353
ITextRange
range = lineRange.GetDuplicate();
1423
private static bool TrimRectangleByRangeCorners(
ITextRange
range, ref Rect rect)
1493
private
ITextRange
_range; // alert: this can point to different ITextRange objects over the lifetime of this WindowsRichEditRange.