Method
formatLine
(str string, textStyle style.TextStyle, index int)
Source from the content-addressed store, hash-verified
| 120 | } |
| 121 | |
| 122 | func (self *patchPresenter) formatLine(str string, textStyle style.TextStyle, index int) string { |
| 123 | included := self.incLineIndices.Includes(index) |
| 124 | |
| 125 | return self.formatLineAux(str, textStyle, included) |
| 126 | } |
| 127 | |
| 128 | // 'selected' means you've got it highlighted with your cursor |
| 129 | // 'included' means the line has been included in the patch (only applicable when |
Tested by
no test coverage detected