CodeEditor
CodeEditor copied to clipboard
A SwiftUI TextEditor with syntax highlighting using Highlight.js
Hello and first of all thank you for this great library :) I'm trying to replicate something similar to Xcode tabs, with some kind of top "tab bar" selecting each...
I found a new issue regarding the relationship between ColorPicker and CodeEditor (1) Start ColorPicker (2) Double-tap Text in CodeEditor ↓ Result ↓ The color of the Text is reflected...
I am using this to build an App for reading codes on iOS. This package works fine for building SwiftUI Views. However, when I am using it to build an...
Not having any luck setting a selection and then it scrolling to that position per the example.
When trying to use a CodeEditor view in my SP4 app, the editor always shows a clear background with a black letter font, no matter what theme I chose.
Highlight one multiple line to see the current editing line. Of many lines like warnings/errors in XCode (or +/- lines on git diff tools)
How can this be extended, or how to access the underlying text view to do the following: 1. handle command-f to find text 2. having found text, highlight those strings...
Hello, I see this code in `CodeAttributedString` of `Highlightr`. It has a non-nil check for `language` else it doesn't proceed and hence doesn't highlight nor auto-detect the language. Is this...
Can't see the cursor (blinking or otherwise) and thus the location is unknown.
I'm using the below function to insert the text at the current selection ( current cursor position is enough for me, though) ```swift func insertText(_ text: String, at range: Range,...