| 170 | |
| 171 | const highlightLineRangePlugin = ViewPlugin.fromClass( |
| 172 | class { |
| 173 | decorations: any; |
| 174 | constructor(view: any) { |
| 175 | this.decorations = highlightLines(view); |
| 176 | } |
| 177 | |
| 178 | update(update: { docChanged: any; viewportChanged: any; view: any }) { |
| 179 | if (update.docChanged || update.viewportChanged) |
| 180 | this.decorations = highlightLines(update.view); |
| 181 | } |
| 182 | }, |
| 183 | { |
| 184 | decorations: (v) => v.decorations, |
| 185 | } |
nothing calls this directly
no outgoing calls
no test coverage detected