9 writes to _range
UIAutomationClientSideProviders (9)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (9)
30
_range
= range;
1132
_range
= charRange;
1137
_range
= paraRange;
1161
_range
= charRange;
1166
_range
= paraRange;
1190
_range
= charRange;
1195
_range
= paraRange;
1219
_range
= charRange;
1224
_range
= paraRange;
48 references to _range
UIAutomationClientSideProviders (48)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (48)
45
ITextRange range =
_range
.GetDuplicate();
53
return
_range
.IsEqual(otherRange.
_range
)==TomBool.tomTrue;
61
int e1 = (endpoint == TextPatternRangeEndpoint.Start) ?
_range
.Start :
_range
.End;
62
int e2 = (targetEndpoint == TextPatternRangeEndpoint.Start) ? otherRange.
_range
.Start : otherRange.
_range
.End;
75
ITextRange charRange =
_range
.GetDuplicate();
78
ITextRange paraRange =
_range
.GetDuplicate();
81
_range
.SetRange(Math.Max(charRange.Start, paraRange.Start), Math.Min(charRange.End, paraRange.End));
86
_range
.Expand(TomUnitFromTextUnit(unit, "unit"));
131
ITextRange range =
_range
.GetDuplicate();
157
return GetAttributeValueForRange(
_range
, attribute);
164
int start = Math.Max(
_range
.Start, visibleRange.Start);
165
int end = Math.Min(
_range
.End, visibleRange.End);
224
text =
_range
.Text;
230
int start =
_range
.Start;
231
int end =
_range
.End;
234
text =
_range
.Text;
240
ITextRange range =
_range
.GetDuplicate();
267
moved =
_range
.Move(TomUnitFromTextUnit(unit, "unit"), count);
294
moved =
_range
.MoveStart(TomUnitFromTextUnit(unit, "unit"), count);
298
moved =
_range
.MoveEnd(TomUnitFromTextUnit(unit, "unit"), count);
310
ITextRange range = ((WindowsRichEditRange)targetRange).
_range
;
318
int storyLength =
_range
.StoryLength;
319
_range
.Start = cp<storyLength ? cp : storyLength-1;
323
_range
.End = cp;
331
_range
.Select();
357
_range
.ScrollIntoView(TomStartEnd.tomStart);
363
ITextRange range =
_range
.GetDuplicate();
462
int limit =
_range
.End; // cache the limit of our search range.
463
ITextRange subrange = FirstUnit(
_range
);
515
int limit =
_range
.Start; // cache the limit of our search range.
516
ITextRange subrange = LastUnit(
_range
);
1012
if (
_range
.Start <
_range
.End)
1014
_range
.Collapse(TomStartEnd.tomEnd);
1023
if (
_range
.Start <
_range
.End)
1025
_range
.Collapse(TomStartEnd.tomStart);
1121
ITextRange charRange =
_range
.GetDuplicate();
1124
ITextRange paraRange =
_range
.GetDuplicate();
1150
ITextRange charRange =
_range
.GetDuplicate();
1153
ITextRange paraRange =
_range
.GetDuplicate();
1179
ITextRange charRange =
_range
.GetDuplicate();
1182
ITextRange paraRange =
_range
.GetDuplicate();
1208
ITextRange charRange =
_range
.GetDuplicate();
1211
ITextRange paraRange =
_range
.GetDuplicate();