3 writes to _line
PresentationFramework (3)
MS\Internal\PtsHost\Line.cs (3)
65_line = null; 271_line = _host.TextFormatter.FormatLine(_host, dcp, _wrappingWidth, lineProps, textLineBreak, ctx.TextRunCache); 275_line = _host.TextFormatter.RecreateLine(_host, dcp, ctx.LineFormatLengthTarget, _wrappingWidth, lineProps, textLineBreak, ctx.TextRunCache);
49 references to _line
PresentationFramework (49)
MS\Internal\PtsHost\Line.cs (49)
58Debug.Assert(_line != null, "Line has been already disposed."); 61_line?.Dispose(); 92dvrSuppressible = Math.Max(0, TextDpi.ToTextDpi(_line.OverhangAfter)); 114double distance = _line.GetDistanceFromCharacterHit(new CharacterHit(dcpFigure, 0)); 277_runs = _line.GetTextRunSpans(); 376System.Windows.Media.TextFormatting.TextLine line = _line; 377if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 379line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 494if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 499System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 505textBounds = _line.GetTextBounds(cp, cch); 524if(_line == null) 529return _line.GetTextLineBreak(); 543if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 545System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 550return _line.GetCharacterHitFromDistance(TextDpi.FromTextDpi(urDistance - delta)); 572if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 576System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 585charIndex = _line.GetCharacterHitFromDistance(TextDpi.FromTextDpi(urOffset - delta)); 618if (!_line.HasOverflowed) 628System.Windows.Media.TextFormatting.TextLine collapsedLine = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 659Debug.Assert(dcp >= 0 && (dcp + cch <= _line.Length)); 661IList<TextSpan<TextRun>> spans = _line.GetTextRunSpans(); 669_line.Draw(ctx, new Point(delta, 0), InvertAxes.None); 738return _line.GetNextCaretCharacterHit(index); 749return _line.GetPreviousCaretCharacterHit(index); 760return _line.GetBackspaceCaretCharacterHit(index); 771return _line.IsAtCaretCharacterHit(charHit, _dcp); 791return TextDpi.ToTextDpi(_line.Start) + TextDpi.ToTextDpi(_indent) + CalculateUOffsetShift(); 805width = TextDpi.ToTextDpi(_line.WidthIncludingTrailingWhitespace) - TextDpi.ToTextDpi(_indent); 809width = TextDpi.ToTextDpi(_line.Width) - TextDpi.ToTextDpi(_indent); 823return TextDpi.ToTextDpi(_line.Height); 834return TextDpi.ToTextDpi(_line.Baseline); 846if (_line.NewlineLength == 0) 864return _line.Length; 875return _line.Length - (EndOfParagraph ? _syntheticCharacterLength : 0); 886return _line.Length - _line.NewlineLength; 898return _line.DependentLength; 909return _line.IsTruncated; 922if (_line.NewlineLength == 0) 989if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 993System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 999textBounds = _line.GetTextBounds(cp, cch); 1091width = TextDpi.ToTextDpi(_line.WidthIncludingTrailingWhitespace); 1092trailingSpacesDelta = TextDpi.ToTextDpi(_line.Width) - width; 1097width = TextDpi.ToTextDpi(_line.Width); 1146return (_line.NewlineLength > 0); 1195if (_line.HasOverflowed)