Closed tmcw closed 7 months ago
https://github.com/val-town/codemirror-codeium/assets/32314/86137b1f-cd66-46c7-8354-3818cb1a0de0
In this video you can see how the () text is "real" and in the document, but the closing ) becomes ghosty when a completion is being previewed.
()
)
I think this is because the relevant code is using cursorPos as its guide and should be using startPos.
cursorPos
startPos
https://github.com/val-town/codemirror-codeium/assets/32314/86137b1f-cd66-46c7-8354-3818cb1a0de0
In this video you can see how the
()
text is "real" and in the document, but the closing)
becomes ghosty when a completion is being previewed.I think this is because the relevant code is using
cursorPos
as its guide and should be usingstartPos
.