1 interface inheriting from ITextRange
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\Tom.cs (1)
142
internal interface ITextSelection:
ITextRange
53 references to ITextRange
UIAutomationClientSideProviders (53)
MS\Internal\AutomationProxies\Tom.cs (8)
66
ITextRange
Range(int cp1, int cp2);
68
ITextRange
RangeFromPoint(int x, int y);
88
ITextRange
GetDuplicate();
102
TomBool InRange(
ITextRange
range);
104
TomBool IsEqual(
ITextRange
range);
151
new
ITextRange
GetDuplicate();
165
new TomBool InRange(
ITextRange
range);
167
new TomBool IsEqual(
ITextRange
range);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (9)
234
ITextRange
range = null;
253
ITextRange
range = GetVisibleRange();
277
ITextRange
range = _document.RangeFromPoint((int)screenLocation.X, (int)screenLocation.Y);
317
ITextRange
range = _document.Range(0, 0);
343
internal
ITextRange
GetVisibleRange()
349
ITextRange
range = _document.RangeFromPoint(x, y);
374
ITextRange
rangeAdjust = _document.Range(0, range.Start - 1);
402
ITextRange
rangeAdjust = _document.Range(range.End, end);
515
ITextRange
range = _document.Range(0, 0);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (36)
26
internal WindowsRichEditRange(
ITextRange
range, WindowsRichEdit pattern)
46
ITextRange
range = _range.GetDuplicate();
76
ITextRange
charRange = _range.GetDuplicate();
79
ITextRange
paraRange = _range.GetDuplicate();
132
ITextRange
range = _range.GetDuplicate();
164
ITextRange
visibleRange = _pattern.GetVisibleRange();
183
ITextRange
range = _pattern.Document.Range(start, start);
241
ITextRange
range = _range.GetDuplicate();
311
ITextRange
range = ((WindowsRichEditRange)targetRange)._range;
364
ITextRange
range = _range.GetDuplicate();
464
ITextRange
subrange = FirstUnit(_range);
517
ITextRange
subrange = LastUnit(_range);
558
private object GetAttributeValueForRange(
ITextRange
range, AutomationTextAttribute attribute)
704
private static object GetFontName(
ITextRange
range)
722
for (
ITextRange
unitRange = FirstUnit(range); NextUnit(end, unitRange, TomUnit.tomCharFormat); )
1122
ITextRange
charRange = _range.GetDuplicate();
1125
ITextRange
paraRange = _range.GetDuplicate();
1151
ITextRange
charRange = _range.GetDuplicate();
1154
ITextRange
paraRange = _range.GetDuplicate();
1180
ITextRange
charRange = _range.GetDuplicate();
1183
ITextRange
paraRange = _range.GetDuplicate();
1209
ITextRange
charRange = _range.GetDuplicate();
1212
ITextRange
paraRange = _range.GetDuplicate();
1236
internal static bool RangeGetPoint(
ITextRange
range, TomGetPoint type, out int x, out int y)
1290
private static
ITextRange
FirstUnit(
ITextRange
range)
1293
ITextRange
subrange = range.GetDuplicate();
1298
private static
ITextRange
LastUnit(
ITextRange
range)
1301
ITextRange
subrange = range.GetDuplicate();
1306
private static bool NextUnit(int end,
ITextRange
subrange, TomUnit unit)
1328
private static bool PreviousUnit(int start,
ITextRange
subrange, TomUnit unit)
1351
private static Rect CalculateOneLineRangeRectangle(
ITextRange
lineRange, Rect clientRect)
1360
ITextRange
range = lineRange.GetDuplicate();
1430
private static bool TrimRectangleByRangeCorners(
ITextRange
range, ref Rect rect)
1500
private
ITextRange
_range; // alert: this can point to different ITextRange objects over the lifetime of this WindowsRichEditRange.