3 writes to _line
PresentationFramework (3)
MS\Internal\PtsHost\Line.cs (3)
69_line = null; 275_line = _host.TextFormatter.FormatLine(_host, dcp, _wrappingWidth, lineProps, textLineBreak, ctx.TextRunCache); 279_line = _host.TextFormatter.RecreateLine(_host, dcp, ctx.LineFormatLengthTarget, _wrappingWidth, lineProps, textLineBreak, ctx.TextRunCache);
50 references to _line
PresentationFramework (50)
MS\Internal\PtsHost\Line.cs (50)
59Debug.Assert(_line != null, "Line has been already disposed."); 62if (_line != null) 64_line.Dispose(); 96dvrSuppressible = Math.Max(0, TextDpi.ToTextDpi(_line.OverhangAfter)); 118double distance = _line.GetDistanceFromCharacterHit(new CharacterHit(dcpFigure, 0)); 281_runs = _line.GetTextRunSpans(); 380System.Windows.Media.TextFormatting.TextLine line = _line; 381if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 383line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 498if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 503System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 509textBounds = _line.GetTextBounds(cp, cch); 528if(_line == null) 533return _line.GetTextLineBreak(); 547if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 549System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 554return _line.GetCharacterHitFromDistance(TextDpi.FromTextDpi(urDistance - delta)); 576if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 580System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 589charIndex = _line.GetCharacterHitFromDistance(TextDpi.FromTextDpi(urOffset - delta)); 622if (!_line.HasOverflowed) 632System.Windows.Media.TextFormatting.TextLine collapsedLine = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 663Debug.Assert(dcp >= 0 && (dcp + cch <= _line.Length)); 665IList<TextSpan<TextRun>> spans = _line.GetTextRunSpans(); 673_line.Draw(ctx, new Point(delta, 0), InvertAxes.None); 742return _line.GetNextCaretCharacterHit(index); 753return _line.GetPreviousCaretCharacterHit(index); 764return _line.GetBackspaceCaretCharacterHit(index); 775return _line.IsAtCaretCharacterHit(charHit, _dcp); 795return TextDpi.ToTextDpi(_line.Start) + TextDpi.ToTextDpi(_indent) + CalculateUOffsetShift(); 809width = TextDpi.ToTextDpi(_line.WidthIncludingTrailingWhitespace) - TextDpi.ToTextDpi(_indent); 813width = TextDpi.ToTextDpi(_line.Width) - TextDpi.ToTextDpi(_indent); 827return TextDpi.ToTextDpi(_line.Height); 838return TextDpi.ToTextDpi(_line.Baseline); 850if (_line.NewlineLength == 0) 868return _line.Length; 879return _line.Length - (EndOfParagraph ? _syntheticCharacterLength : 0); 890return _line.Length - _line.NewlineLength; 902return _line.DependentLength; 913return _line.IsTruncated; 926if (_line.NewlineLength == 0) 993if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 997System.Windows.Media.TextFormatting.TextLine line = _line.Collapse(GetCollapsingProps(_wrappingWidth, TextParagraph.Properties)); 1003textBounds = _line.GetTextBounds(cp, cch); 1095width = TextDpi.ToTextDpi(_line.WidthIncludingTrailingWhitespace); 1096trailingSpacesDelta = TextDpi.ToTextDpi(_line.Width) - width; 1101width = TextDpi.ToTextDpi(_line.Width); 1150return (_line.NewlineLength > 0); 1199if (_line.HasOverflowed)