3 writes to _line
PresentationFramework (3)
src\Framework\MS\Internal\PtsHost\Line.cs (3)
86_line = null; 292_line = _host.TextFormatter.FormatLine(_host, dcp, _wrappingWidth, lineProps, textLineBreak, ctx.TextRunCache); 296_line = _host.TextFormatter.RecreateLine(_host, dcp, ctx.LineFormatLengthTarget, _wrappingWidth, lineProps, textLineBreak, ctx.TextRunCache);
50 references to _line
PresentationFramework (50)
src\Framework\MS\Internal\PtsHost\Line.cs (50)
76Debug.Assert(_line != null, "Line has been already disposed."); 79if (_line != null) 81_line.Dispose(); 113dvrSuppressible = Math.Max(0, TextDpi.ToTextDpi(_line.OverhangAfter)); 135double distance = _line.GetDistanceFromCharacterHit(new CharacterHit(dcpFigure, 0)); 298_runs = _line.GetTextRunSpans(); 397System.Windows.Media.TextFormatting.TextLine line = _line; 398if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 400line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 516if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 521System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 527textBounds = _line.GetTextBounds(cp, cch); 546if(_line == null) 551return _line.GetTextLineBreak(); 565if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 567System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 572return _line.GetCharacterHitFromDistance(TextDpi.FromTextDpi(urDistance - delta)); 594if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 598System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 607charIndex = _line.GetCharacterHitFromDistance(TextDpi.FromTextDpi(urOffset - delta)); 640if (!_line.HasOverflowed) 650System.Windows.Media.TextFormatting.TextLine collapsedLine = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 681Debug.Assert(dcp >= 0 && (dcp + cch <= _line.Length)); 683IList<TextSpan<TextRun>> spans = _line.GetTextRunSpans(); 691_line.Draw(ctx, new Point(delta, 0), InvertAxes.None); 760return _line.GetNextCaretCharacterHit(index); 771return _line.GetPreviousCaretCharacterHit(index); 782return _line.GetBackspaceCaretCharacterHit(index); 793return _line.IsAtCaretCharacterHit(charHit, _dcp); 813return TextDpi.ToTextDpi(_line.Start) + TextDpi.ToTextDpi(_indent) + CalculateUOffsetShift(); 827width = TextDpi.ToTextDpi(_line.WidthIncludingTrailingWhitespace) - TextDpi.ToTextDpi(_indent); 831width = TextDpi.ToTextDpi(_line.Width) - TextDpi.ToTextDpi(_indent); 845return TextDpi.ToTextDpi(_line.Height); 856return TextDpi.ToTextDpi(_line.Baseline); 868if (_line.NewlineLength == 0) 886return _line.Length; 897return _line.Length - (EndOfParagraph ? _syntheticCharacterLength : 0); 908return _line.Length - _line.NewlineLength; 920return _line.DependentLength; 931return _line.IsTruncated; 944if (_line.NewlineLength == 0) 1011if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 1015System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 1021textBounds = _line.GetTextBounds(cp, cch); 1118width = TextDpi.ToTextDpi(_line.WidthIncludingTrailingWhitespace); 1119trailingSpacesDelta = TextDpi.ToTextDpi(_line.Width) - width; 1124width = TextDpi.ToTextDpi(_line.Width); 1173return (_line.NewlineLength > 0); 1222if (_line.HasOverflowed)