7 writes to _currentLine
PresentationCore (7)
Core\CSharp\System\Windows\Media\FormattedText.cs (7)
931
_currentLine
= null;
944
_currentLine
= null;
1023
_currentLine
= FormatLine(
1035
_currentLine
= null;
1051
_currentLine
= _nextLine;
1104
_currentLine
= FormatLine(
1188
_currentLine
= null;
16 references to _currentLine
PresentationCore (16)
Core\CSharp\System\Windows\Media\FormattedText.cs (16)
941
if (
_currentLine
!= null)
943
_currentLine
.Dispose();
977
return
_currentLine
;
1017
if (
_currentLine
== null)
1032
if (_totalHeight +
_currentLine
.Height > _that._maxTextHeight)
1034
_currentLine
.Dispose();
1055
TextLineBreak currentLineBreak =
_currentLine
.GetTextLineBreak();
1058
Debug.Assert(_totalHeight +
_currentLine
.Height <= _that._maxTextHeight);
1065
if (_textStorePosition +
_currentLine
.Length < _that._text.Length)
1075
_textStorePosition +
_currentLine
.Length,
1080
nextLineFits = (_totalHeight +
_currentLine
.Height + _nextLine.Height <= _that._maxTextHeight);
1092
if (_that._trimming != TextTrimming.None && !
_currentLine
.HasCollapsed)
1103
_currentLine
.Dispose();
1112
currentLineBreak =
_currentLine
.GetTextLineBreak();
1117
_previousHeight =
_currentLine
.Height;
1118
_previousLength =
_currentLine
.Length;