(view: EditorView)
| 292 | lastIndentUnit = 4; |
| 293 | |
| 294 | constructor(view: EditorView) { |
| 295 | const { state } = view; |
| 296 | this.lastCharWidth = view.defaultCharacterWidth; |
| 297 | this.lastTabSize = getTabSize(state); |
| 298 | this.lastIndentUnit = getIndentUnitColumns(state); |
| 299 | |
| 300 | this.decorations = buildDecorations( |
| 301 | view, |
| 302 | config, |
| 303 | this.lineCache, |
| 304 | this.styleCache, |
| 305 | ); |
| 306 | } |
| 307 | |
| 308 | update(update: ViewUpdate): void { |
| 309 | const { view, state } = update; |
nothing calls this directly
no test coverage detected