We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e667b08 commit c24ed10Copy full SHA for c24ed10
scalac-scoverage-plugin/src/main/scala/scoverage/report/CodeGrid.scala
@@ -21,9 +21,12 @@ class CodeGrid(mfile: MeasuredFile) {
21
mfile.statements.foreach(highlight)
22
23
val highlighted: String = {
24
+ var lineNumber = 1
25
val code = lines map (line => {
26
var style = cellStyle(NoData)
27
val sb = new StringBuilder
28
+ sb append lineNumber + " "
29
+ lineNumber = lineNumber + 1
30
sb append spanStart(NoData)
31
line.map(cell => {
32
val style2 = cellStyle(cell.status)
0 commit comments