1 write to _provider
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
45_provider = provider;
78 references to _provider
UIAutomationClientSideProviders (78)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (78)
60return new WindowsEditBoxRange(_provider, Start, End); 83Misc.SetFocus(_provider._hwnd); 102string text = _provider.GetText(); 139if (_provider.GetLineCount() != 1) 141int startLine = _provider.LineFromChar(Start); 142int endLine = _provider.LineFromChar(End); 144MoveTo(_provider.LineIndex(startLine), _provider.LineIndex(endLine + 1)); 148MoveTo(0, _provider.GetTextLength()); 158string text = _provider.GetText(); 173MoveTo(0, _provider.GetTextLength()); 194return val.Equals(targetAttribute) ? new WindowsEditBoxRange(_provider, Start, End) : null; 202string rangeText = _provider.GetText(); 217return i >= 0 ? new WindowsEditBoxRange(_provider, Start + i, Start + i + text.Length) : null; 238string text = _provider.GetText(); 245if (!Misc.MapWindowPoints(_provider.WindowHandle, IntPtr.Zero, ref w32point, 1)) 252Rect clippingRectangle = _provider.GetRect(); 257if (_provider.IsMultiline) 268Point startPoint = _provider.PosFromChar(Start); 269Point endPoint = _provider.PosFromCharUR(End - 1, text); 290return _provider; 297string text = _provider.GetText(); 304Misc.SetFocus(_provider._hwnd); 358Misc.SetFocus(_provider._hwnd); 422Misc.SetFocus(_provider._hwnd); 441Misc.SetFocus(_provider._hwnd); 443_provider.SetSel(Start, End); 458Misc.SetFocus(_provider._hwnd); 462if (_provider.IsMultiline) 468newFirstLine = _provider.LineFromChar(Start); 473Math.Max(0, _provider.LineFromChar(End) - _provider.LinesPerPage() + 1); 476_provider.LineScroll(Start, newFirstLine - _provider.GetFirstVisibleLine()); 479else if (_provider.IsScrollable) 481Misc.SetFocus(_provider._hwnd); 485_provider.GetVisibleRangePoints(out visibleStart, out visibleEnd); 487if (Misc.IsReadingRTL(_provider._hwnd)) 499_provider.GetVisibleRangePoints(out visibleStart, out visibleEnd); 514_provider.GetVisibleRangePoints(out visibleStart, out visibleEnd); 609rval = GetCapStyle(_provider.WindowStyle); 613rval = GetFontName(_provider.GetLogfont()); 617rval = GetFontSize(_provider.GetLogfont()); 621rval = GetFontWeight(_provider.GetLogfont()); 629rval = GetHorizontalTextAlignment(_provider.WindowStyle); 633rval = GetItalic(_provider.GetLogfont()); 641rval = GetStrikethroughStyle(_provider.GetLogfont()); 645rval = GetUnderlineStyle(_provider.GetLogfont()); 658int height = Math.Abs(_provider.GetLogfont().lfHeight);; 664int startLine = _provider.LineFromChar(start); 665int endLine = _provider.LineFromChar(end - 1); 669int firstVisibleLine = _provider.GetFirstVisibleLine(); 673start = _provider.LineIndex(startLine); 677int lastVisibleLine = firstVisibleLine + _provider.LinesPerPage() - 1; 681end = _provider.LineIndex(endLine) - 1; 686int nextLineIndex = _provider.LineIndex(startLine); 693startPoint = _provider.PosFromChar(start); 697startPoint = _provider.PosFromChar(nextLineIndex); 704endPoint = _provider.PosFromCharUR(end-1, text); 708nextLineIndex = _provider.LineIndex(i + 1); 709endPoint = _provider.PosFromChar(nextLineIndex - 1); 751return _provider.IsReadOnly(); 824int limit = _provider.GetTextLength() ; 836string text = _provider.GetText(); 867int line = _provider.LineFromChar(index); 871int lineMax = _provider.GetLineCount(); 877index = _provider.LineIndex(line + moved); 882index = _provider.GetTextLength(); 892string text = _provider.GetText(); 909int limit = _provider.GetTextLength(); 935int limit = _provider.GetTextLength(); 949string text = _provider.GetText(); 980int line = _provider.LineFromChar(index) + 1; 982int lineMax = _provider.GetLineCount(); 1008((lineMax > 1 && _provider.LineIndex(1) == _lineSeparator.Length) 1023index = _provider.LineIndex(line + actualCount) - _lineSeparator.Length; 1032string text = _provider.GetText(); 1078int limit = _provider.GetTextLength();