Skip to content

Commit ffd8c05

Browse files
committed
Merge pull request #78 from pmularien/fix-linespace-windows-issue
Correct issue with line double spacing / highlighting in Code Grid view on Windows
2 parents 3b9ef28 + f300b28 commit ffd8c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scalac-scoverage-plugin/src/main/scala/scoverage/report/CodeGrid.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class CodeGrid(mfile: MeasuredFile) {
99

1010
case class Cell(char: Char, var status: StatementStatus)
1111

12-
private val lineBreak = System.getProperty("line.separator").toCharArray
12+
private val lineBreak = System.getProperty("line.separator")
1313

1414
// note: we must reinclude the line sep to keep source positions correct.
1515
private val lines = source(mfile).split(lineBreak).map(line => (line.toCharArray ++ lineBreak).map(Cell(_, NoData)))

0 commit comments

Comments
 (0)