MCPcopy Create free account
hub / github.com/massCodeIO/massCode / update

Method update

src/renderer/components/notes/cm-extensions/hideMarkup.ts:158–173  ·  view source on GitHub ↗
(update: {
        docChanged: boolean
        selectionSet: boolean
        viewportChanged: boolean
        focusChanged: boolean
        view: EditorView
      })

Source from the content-addressed store, hash-verified

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,

Callers 5

createListIndentSpecsFunction · 0.45
runFunction · 0.45
hashIntegrationTokenFunction · 0.45

Calls 1

buildHideDecorationsFunction · 0.85

Tested by

no test coverage detected