7 writes to _currentLine
PresentationCore (7)
System\Windows\Media\FormattedText.cs (7)
885
_currentLine
= null;
898
_currentLine
= null;
976
_currentLine
= FormatLine(
988
_currentLine
= null;
1004
_currentLine
= _nextLine;
1056
_currentLine
= FormatLine(
1139
_currentLine
= null;
16 references to _currentLine
PresentationCore (16)
System\Windows\Media\FormattedText.cs (16)
895
if (
_currentLine
!= null)
897
_currentLine
.Dispose();
931
return
_currentLine
;
971
if (
_currentLine
== null)
985
if (_totalHeight +
_currentLine
.Height > _that._maxTextHeight)
987
_currentLine
.Dispose();
1008
TextLineBreak currentLineBreak =
_currentLine
.GetTextLineBreak();
1011
Debug.Assert(_totalHeight +
_currentLine
.Height <= _that._maxTextHeight);
1018
if (_textStorePosition +
_currentLine
.Length < _that._text.Length)
1028
_textStorePosition +
_currentLine
.Length,
1033
nextLineFits = (_totalHeight +
_currentLine
.Height + _nextLine.Height <= _that._maxTextHeight);
1045
if (_that._trimming != TextTrimming.None && !
_currentLine
.HasCollapsed)
1055
_currentLine
.Dispose();
1064
currentLineBreak =
_currentLine
.GetTextLineBreak();
1069
_previousHeight =
_currentLine
.Height;
1070
_previousLength =
_currentLine
.Length;