3 writes to _line
PresentationFramework (3)
MS\Internal\PtsHost\Line.cs (3)
66_line = null; 272_line = _host.TextFormatter.FormatLine(_host, dcp, _wrappingWidth, lineProps, textLineBreak, ctx.TextRunCache); 276_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)
59Debug.Assert(_line != null, "Line has been already disposed."); 62_line?.Dispose(); 93dvrSuppressible = Math.Max(0, TextDpi.ToTextDpi(_line.OverhangAfter)); 115double distance = _line.GetDistanceFromCharacterHit(new CharacterHit(dcpFigure, 0)); 278_runs = _line.GetTextRunSpans(); 377System.Windows.Media.TextFormatting.TextLine line = _line; 378if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 380line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 495if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 500System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 506textBounds = _line.GetTextBounds(cp, cch); 525if(_line == null) 530return _line.GetTextLineBreak(); 544if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 546System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 551return _line.GetCharacterHitFromDistance(TextDpi.FromTextDpi(urDistance - delta)); 573if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 577System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 586charIndex = _line.GetCharacterHitFromDistance(TextDpi.FromTextDpi(urOffset - delta)); 619if (!_line.HasOverflowed) 629System.Windows.Media.TextFormatting.TextLine collapsedLine = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 660Debug.Assert(dcp >= 0 && (dcp + cch <= _line.Length)); 662IList<TextSpan<TextRun>> spans = _line.GetTextRunSpans(); 670_line.Draw(ctx, new Point(delta, 0), InvertAxes.None); 739return _line.GetNextCaretCharacterHit(index); 750return _line.GetPreviousCaretCharacterHit(index); 761return _line.GetBackspaceCaretCharacterHit(index); 772return _line.IsAtCaretCharacterHit(charHit, _dcp); 792return TextDpi.ToTextDpi(_line.Start) + TextDpi.ToTextDpi(_indent) + CalculateUOffsetShift(); 806width = TextDpi.ToTextDpi(_line.WidthIncludingTrailingWhitespace) - TextDpi.ToTextDpi(_indent); 810width = TextDpi.ToTextDpi(_line.Width) - TextDpi.ToTextDpi(_indent); 824return TextDpi.ToTextDpi(_line.Height); 835return TextDpi.ToTextDpi(_line.Baseline); 847if (_line.NewlineLength == 0) 865return _line.Length; 876return _line.Length - (EndOfParagraph ? _syntheticCharacterLength : 0); 887return _line.Length - _line.NewlineLength; 899return _line.DependentLength; 910return _line.IsTruncated; 923if (_line.NewlineLength == 0) 990if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 994System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 1000textBounds = _line.GetTextBounds(cp, cch); 1092width = TextDpi.ToTextDpi(_line.WidthIncludingTrailingWhitespace); 1093trailingSpacesDelta = TextDpi.ToTextDpi(_line.Width) - width; 1098width = TextDpi.ToTextDpi(_line.Width); 1147return (_line.NewlineLength > 0); 1196if (_line.HasOverflowed)