MCPcopy Create free account
hub / github.com/Exafunction/codeium-chrome / anyTextMarkerUpdated

Method anyTextMarkerUpdated

src/codemirror.ts:97–107  ·  view source on GitHub ↗
(
    ch: string,
    cursor: CodeMirror.Position,
    characterBeforeCursor: string
  )

Source from the content-addressed store, hash-verified

95 }
96
97 anyTextMarkerUpdated(
98 ch: string,
99 cursor: CodeMirror.Position,
100 characterBeforeCursor: string
101 ): boolean {
102 return (
103 this.currentCompletion?.textMarkers.find((textMarker) =>
104 maybeUpdateTextMarker(textMarker, ch, cursor, characterBeforeCursor)
105 ) !== undefined
106 );
107 }
108
109 async triggerCompletion(
110 textModels: CodeMirror.Doc[],

Callers 1

beforeMainKeyHandlerMethod · 0.95

Calls 1

maybeUpdateTextMarkerFunction · 0.85

Tested by

no test coverage detected