(update: {
docChanged: boolean
selectionSet: boolean
viewportChanged: boolean
focusChanged: boolean
view: EditorView
})
| 156 | } |
| 157 | |
| 158 | update(update: { |
| 159 | docChanged: boolean |
| 160 | selectionSet: boolean |
| 161 | viewportChanged: boolean |
| 162 | focusChanged: boolean |
| 163 | view: EditorView |
| 164 | }) { |
| 165 | if ( |
| 166 | update.docChanged |
| 167 | || update.selectionSet |
| 168 | || update.viewportChanged |
| 169 | || update.focusChanged |
| 170 | ) { |
| 171 | this.decorations = buildHideDecorations(update.view, alwaysHide) |
| 172 | } |
| 173 | } |
| 174 | }, |
| 175 | { |
| 176 | decorations: v => v.decorations, |
no test coverage detected