1 interface inheriting from ITextRange
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\Tom.cs (1)
150
internal interface ITextSelection:
ITextRange
53 references to ITextRange
UIAutomationClientsideProviders (53)
MS\Internal\AutomationProxies\Tom.cs (8)
74
ITextRange
Range(int cp1, int cp2);
76
ITextRange
RangeFromPoint(int x, int y);
96
ITextRange
GetDuplicate();
110
TomBool InRange(
ITextRange
range);
112
TomBool IsEqual(
ITextRange
range);
159
new
ITextRange
GetDuplicate();
173
new TomBool InRange(
ITextRange
range);
175
new TomBool IsEqual(
ITextRange
range);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (9)
246
ITextRange
range = null;
265
ITextRange
range = GetVisibleRange();
289
ITextRange
range = _document.RangeFromPoint((int)screenLocation.X, (int)screenLocation.Y);
329
ITextRange
range = _document.Range(0, 0);
383
internal
ITextRange
GetVisibleRange()
389
ITextRange
range = _document.RangeFromPoint(x, y);
414
ITextRange
rangeAdjust = _document.Range(0, range.Start - 1);
442
ITextRange
rangeAdjust = _document.Range(range.End, end);
557
ITextRange
range = _document.Range(0, 0);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (36)
33
internal WindowsRichEditRange(
ITextRange
range, WindowsRichEdit pattern)
53
ITextRange
range = _range.GetDuplicate();
83
ITextRange
charRange = _range.GetDuplicate();
86
ITextRange
paraRange = _range.GetDuplicate();
151
ITextRange
range = _range.GetDuplicate();
183
ITextRange
visibleRange = _pattern.GetVisibleRange();
202
ITextRange
range = _pattern.Document.Range(start, start);
260
ITextRange
range = _range.GetDuplicate();
330
ITextRange
range = ((WindowsRichEditRange)targetRange)._range;
383
ITextRange
range = _range.GetDuplicate();
483
ITextRange
subrange = FirstUnit(_range);
536
ITextRange
subrange = LastUnit(_range);
577
private object GetAttributeValueForRange(
ITextRange
range, AutomationTextAttribute attribute)
723
private static object GetFontName(
ITextRange
range)
741
for (
ITextRange
unitRange = FirstUnit(range); NextUnit(end, unitRange, TomUnit.tomCharFormat); )
1141
ITextRange
charRange = _range.GetDuplicate();
1144
ITextRange
paraRange = _range.GetDuplicate();
1170
ITextRange
charRange = _range.GetDuplicate();
1173
ITextRange
paraRange = _range.GetDuplicate();
1199
ITextRange
charRange = _range.GetDuplicate();
1202
ITextRange
paraRange = _range.GetDuplicate();
1228
ITextRange
charRange = _range.GetDuplicate();
1231
ITextRange
paraRange = _range.GetDuplicate();
1255
internal static bool RangeGetPoint(
ITextRange
range, TomGetPoint type, out int x, out int y)
1309
private static
ITextRange
FirstUnit(
ITextRange
range)
1312
ITextRange
subrange = range.GetDuplicate();
1317
private static
ITextRange
LastUnit(
ITextRange
range)
1320
ITextRange
subrange = range.GetDuplicate();
1325
private static bool NextUnit(int end,
ITextRange
subrange, TomUnit unit)
1347
private static bool PreviousUnit(int start,
ITextRange
subrange, TomUnit unit)
1370
private static Rect CalculateOneLineRangeRectangle(
ITextRange
lineRange, Rect clientRect)
1379
ITextRange
range = lineRange.GetDuplicate();
1450
private static bool TrimRectangleByRangeCorners(
ITextRange
range, ref Rect rect)
1520
private
ITextRange
_range; // alert: this can point to different ITextRange objects over the lifetime of this WindowsRichEditRange.