You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package includes two products: (1) CodeEditorView and (2) LanguageSupport. The missing symbol is located in the second product — i.e., you need to import that, too.
This needs to be better explained in the documentation. I will keep this issue open to remind me of that. (I'll also rename it.) Thanks for the feedback!
mchakravarty
changed the title
Compile Errors: TextLocated not found
State up front that they are two products
Nov 5, 2023
When I try to compile the code, I get:
Cannot find type 'TextLocated' in scope
`
import SwiftUI
import CodeEditorView
struct MyCodeEditorView: View {
@State private var text: String = "My awesome code..."
@State private var position: CodeEditor.Position = CodeEditor.Position()
@State private var messages: Set<TextLocated> = Set()
}
`
The text was updated successfully, but these errors were encountered: