7 writes to _currentLine
PresentationCore (7)
System\Windows\Media\FormattedText.cs (7)
919
_currentLine
= null;
932
_currentLine
= null;
1010
_currentLine
= FormatLine(
1022
_currentLine
= null;
1038
_currentLine
= _nextLine;
1091
_currentLine
= FormatLine(
1175
_currentLine
= null;
16 references to _currentLine
PresentationCore (16)
System\Windows\Media\FormattedText.cs (16)
929
if (
_currentLine
!= null)
931
_currentLine
.Dispose();
965
return
_currentLine
;
1005
if (
_currentLine
== null)
1019
if (_totalHeight +
_currentLine
.Height > _that._maxTextHeight)
1021
_currentLine
.Dispose();
1042
TextLineBreak currentLineBreak =
_currentLine
.GetTextLineBreak();
1045
Debug.Assert(_totalHeight +
_currentLine
.Height <= _that._maxTextHeight);
1052
if (_textStorePosition +
_currentLine
.Length < _that._text.Length)
1062
_textStorePosition +
_currentLine
.Length,
1067
nextLineFits = (_totalHeight +
_currentLine
.Height + _nextLine.Height <= _that._maxTextHeight);
1079
if (_that._trimming != TextTrimming.None && !
_currentLine
.HasCollapsed)
1090
_currentLine
.Dispose();
1099
currentLineBreak =
_currentLine
.GetTextLineBreak();
1104
_previousHeight =
_currentLine
.Height;
1105
_previousLength =
_currentLine
.Length;