1 interface inheriting from ITextRange
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\Tom.cs (1)
140
internal interface ITextSelection:
ITextRange
53 references to ITextRange
UIAutomationClientSideProviders (53)
MS\Internal\AutomationProxies\Tom.cs (8)
64
ITextRange
Range(int cp1, int cp2);
66
ITextRange
RangeFromPoint(int x, int y);
86
ITextRange
GetDuplicate();
100
TomBool InRange(
ITextRange
range);
102
TomBool IsEqual(
ITextRange
range);
149
new
ITextRange
GetDuplicate();
163
new TomBool InRange(
ITextRange
range);
165
new TomBool IsEqual(
ITextRange
range);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (9)
229
ITextRange
range = null;
248
ITextRange
range = GetVisibleRange();
272
ITextRange
range = _document.RangeFromPoint((int)screenLocation.X, (int)screenLocation.Y);
312
ITextRange
range = _document.Range(0, 0);
338
internal
ITextRange
GetVisibleRange()
344
ITextRange
range = _document.RangeFromPoint(x, y);
369
ITextRange
rangeAdjust = _document.Range(0, range.Start - 1);
397
ITextRange
rangeAdjust = _document.Range(range.End, end);
510
ITextRange
range = _document.Range(0, 0);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (36)
21
internal WindowsRichEditRange(
ITextRange
range, WindowsRichEdit pattern)
41
ITextRange
range = _range.GetDuplicate();
71
ITextRange
charRange = _range.GetDuplicate();
74
ITextRange
paraRange = _range.GetDuplicate();
127
ITextRange
range = _range.GetDuplicate();
159
ITextRange
visibleRange = _pattern.GetVisibleRange();
178
ITextRange
range = _pattern.Document.Range(start, start);
236
ITextRange
range = _range.GetDuplicate();
303
ITextRange
range = ((WindowsRichEditRange)targetRange)._range;
356
ITextRange
range = _range.GetDuplicate();
456
ITextRange
subrange = FirstUnit(_range);
509
ITextRange
subrange = LastUnit(_range);
550
private object GetAttributeValueForRange(
ITextRange
range, AutomationTextAttribute attribute)
696
private static object GetFontName(
ITextRange
range)
714
for (
ITextRange
unitRange = FirstUnit(range); NextUnit(end, unitRange, TomUnit.tomCharFormat); )
1114
ITextRange
charRange = _range.GetDuplicate();
1117
ITextRange
paraRange = _range.GetDuplicate();
1143
ITextRange
charRange = _range.GetDuplicate();
1146
ITextRange
paraRange = _range.GetDuplicate();
1172
ITextRange
charRange = _range.GetDuplicate();
1175
ITextRange
paraRange = _range.GetDuplicate();
1201
ITextRange
charRange = _range.GetDuplicate();
1204
ITextRange
paraRange = _range.GetDuplicate();
1228
internal static bool RangeGetPoint(
ITextRange
range, TomGetPoint type, out int x, out int y)
1282
private static
ITextRange
FirstUnit(
ITextRange
range)
1285
ITextRange
subrange = range.GetDuplicate();
1290
private static
ITextRange
LastUnit(
ITextRange
range)
1293
ITextRange
subrange = range.GetDuplicate();
1298
private static bool NextUnit(int end,
ITextRange
subrange, TomUnit unit)
1320
private static bool PreviousUnit(int start,
ITextRange
subrange, TomUnit unit)
1343
private static Rect CalculateOneLineRangeRectangle(
ITextRange
lineRange, Rect clientRect)
1352
ITextRange
range = lineRange.GetDuplicate();
1422
private static bool TrimRectangleByRangeCorners(
ITextRange
range, ref Rect rect)
1492
private
ITextRange
_range; // alert: this can point to different ITextRange objects over the lifetime of this WindowsRichEditRange.