Skip to content

Commit

Permalink
Fix ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
XanderZhu committed Oct 18, 2023
1 parent ebbcdb5 commit 2b96a60
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ object FillBlanksItemMapper {
previousDelimiterIsLineBreak = delimiter == LINE_BREAK_CHAR
currentOffset = nextDelimiterIndex + 1 // skip delimiter, start with the next index
nextDelimiterIndex = content.indexOfAny(DELIMITERS, currentOffset)
} while(nextDelimiterIndex != -1)
} while (nextDelimiterIndex != -1)
add(
FillBlanksItem.Text(
id = id,
text = content.substring(currentOffset, content.length),
startsWithNewLine = previousDelimiterIsLineBreak
)
FillBlanksItem.Text(
id = id,
text = content.substring(currentOffset, content.length),
startsWithNewLine = previousDelimiterIsLineBreak
)
)
}
}
Expand Down

0 comments on commit 2b96a60

Please sign in to comment.