8 writes to Start
System.Windows.Forms.Primitives (8)
System\Windows\Forms\Automation\UiaTextRange.cs (8)
189
Start
--;
241
Start
--;
461
Start
= End;
466
Start
= MoveEndpointForward(Start, unit, count, out moved);
519
Start
= MoveEndpointForward(Start, unit, count, out moved);
537
Start
= MoveEndpointBackward(Start, unit, count, out moved);
569
Start
= e;
1186
Start
= limit;
42 references to Start
System.Windows.Forms.Primitives (42)
System\Windows\Forms\Automation\UiaTextRange.cs (42)
76
if (
Start
< 0 || End < 0 ||
Start
> End)
82
return End -
Start
;
119
*pRetVal = ComHelpers.GetComPointer<ITextRangeProvider>(new UiaTextRange(_enclosingElement, _provider,
Start
, End));
138
*pRetVal = ComHelpers.TryGetObjectForIUnknown((IUnknown*)range, out UiaTextRange? editRange) && editRange.
Start
==
Start
&& editRange.End == End;
160
int e1 = (endpoint == (int)TextPatternRangeEndpoint.TextPatternRangeEndpoint_Start) ?
Start
: End;
161
int e2 = (targetEndpoint == (int)TextPatternRangeEndpoint.TextPatternRangeEndpoint_Start) ? editRange.
Start
: editRange.End;
187
while (!AtWordBoundary(text,
Start
))
193
End = Math.Min(Math.Max(End,
Start
+ 1), text.Length);
207
int startLine = _provider.GetLineFromCharIndex(
Start
);
239
while (!AtParagraphBoundary(text,
Start
))
245
End = Math.Min(Math.Max(End,
Start
+ 1), text.Length);
301
ReadOnlySpan<char> rangeText = _provider.Text.AsSpan().Slice(
Start
, Length);
309
? ComHelpers.GetComPointer<ITextRangeProvider>(new UiaTextRange(_enclosingElement, _provider,
Start
+ index,
Start
+ index + text.Length))
356
if (
Start
== _provider.TextLength
358
&& End -
Start
== 1 && text[End] == '\n'))
394
Point startPoint = _provider.GetPositionFromChar(
Start
);
438
*pRetVal = text.Length < maxLength -
Start
439
? new(text[
Start
..])
440
: new(text.Substring(
Start
, maxLength));
465
int start =
Start
;
466
Start = MoveEndpointForward(
Start
, unit, count, out moved);
469
if (start !=
Start
)
482
End =
Start
;
512
int start =
Start
;
519
Start = MoveEndpointForward(
Start
, unit, count, out moved);
522
*pRetVal = start ==
Start
? 0 : moved;
537
Start = MoveEndpointBackward(
Start
, unit, count, out moved);
540
*pRetVal = start ==
Start
? 0 : moved;
564
? textRange.
Start
581
_provider.SetSelection(
Start
, End);
594
? _provider.GetLineFromCharIndex(
Start
)
597
_provider.LineScroll(
Start
, newFirstLine - _provider.FirstVisibleLine);
605
VIRTUAL_KEY key =
Start
> visibleStart ? VIRTUAL_KEY.VK_RIGHT : VIRTUAL_KEY.VK_LEFT;
609
if (
Start
> visibleStart ||
Start
< visibleEnd)
618
if (
Start
< visibleStart ||
Start
> visibleEnd)
720
int start =
Start
;
1184
if (
Start
> limit && limit > 0)