7 writes to _currentLine
PresentationCore (7)
System\Windows\Media\FormattedText.cs (7)
884
_currentLine
= null;
897
_currentLine
= null;
975
_currentLine
= FormatLine(
987
_currentLine
= null;
1003
_currentLine
= _nextLine;
1055
_currentLine
= FormatLine(
1138
_currentLine
= null;
16 references to _currentLine
PresentationCore (16)
System\Windows\Media\FormattedText.cs (16)
894
if (
_currentLine
!= null)
896
_currentLine
.Dispose();
930
return
_currentLine
;
970
if (
_currentLine
== null)
984
if (_totalHeight +
_currentLine
.Height > _that._maxTextHeight)
986
_currentLine
.Dispose();
1007
TextLineBreak currentLineBreak =
_currentLine
.GetTextLineBreak();
1010
Debug.Assert(_totalHeight +
_currentLine
.Height <= _that._maxTextHeight);
1017
if (_textStorePosition +
_currentLine
.Length < _that._text.Length)
1027
_textStorePosition +
_currentLine
.Length,
1032
nextLineFits = (_totalHeight +
_currentLine
.Height + _nextLine.Height <= _that._maxTextHeight);
1044
if (_that._trimming != TextTrimming.None && !
_currentLine
.HasCollapsed)
1054
_currentLine
.Dispose();
1063
currentLineBreak =
_currentLine
.GetTextLineBreak();
1068
_previousHeight =
_currentLine
.Height;
1069
_previousLength =
_currentLine
.Length;