Skip to content

Commit aab5543

Browse files
committed
Code cleanup
1 parent 2e1d741 commit aab5543

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/Markdig/Parsers/BlockProcessor.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -485,15 +485,11 @@ public void Discard(Block block)
485485
/// Processes a new line.
486486
/// </summary>
487487
/// <param name="newLine">The new line.</param>
488-
/// <param name="column">The offset.</param>
489-
public void ProcessLine(StringSlice newLine, int column = 0)
488+
public void ProcessLine(StringSlice newLine)
490489
{
491490
CurrentLineStartPosition = newLine.Start;
492491

493-
if (column == 0)
494-
{
495-
Document.LineStartIndexes?.Add(CurrentLineStartPosition);
496-
}
492+
Document.LineStartIndexes?.Add(CurrentLineStartPosition);
497493

498494
ContinueProcessingLine = true;
499495

0 commit comments

Comments
 (0)