(marker: Marker, theme: Theme)
| 366 | } |
| 367 | |
| 368 | function lineBackground(marker: Marker, theme: Theme): Color { |
| 369 | switch (marker) { |
| 370 | case '+': |
| 371 | return theme.addLine |
| 372 | case '-': |
| 373 | return theme.deleteLine |
| 374 | case ' ': |
| 375 | return theme.background |
| 376 | } |
| 377 | } |
| 378 | |
| 379 | function wordBackground(marker: Marker, theme: Theme): Color { |
| 380 | switch (marker) { |
no outgoing calls
no test coverage detected