Sourceful
Sourceful copied to clipboard
A syntax highlighting source editor for iOS and macOS using UITextView and NSTextView.
Hi! There is a lot of missing / incorrect syntax highlighting. Is there a way to use the **swift tree sitter** instead of Regex used in Swift Lexer?
Is it possible to disable word-wrap and enable the horizontal scrollbar?
Mac Catalyst only: TextView Insertion Point Color changing on tintColor didSet of SyntaxTextView.
Does anyone know how to use this or is there a documentation file ?
To reproduce (macOS 11.6 (20G165)): 1. Run attached project 1. Create a new document 1. Place insertion point at the end of the document 1. Add two characters 1. Undo...
https://github.com/twostraws/Sourceful/blob/04f7e85900451ebdc34345ee19bb0139f05f3a01/Sources/Sourceful/SwiftUI/SourceCodeTextEditor.swift#L139 This line causes an occasional loss of a change with SwiftUI on macOS, presumably due to reordering of updates. After typing a character, the change is undone. Why was...
Each time I enter a character in the SourceCodeTextEditor, the insertion point goes to the end. Assuming this is a bug in Sourceful, since if I replace SourceCodeTextEditor with TextEditor,...
There is a bug with multiline placeholder I suggest to take a look to : https://github.com/ActuallyZach/Firefly there is a solution for that there
Many code editors provide a solution for auto completion in code. It would be great to have a way to do it here too
I open this issue here because the SourceEditor repo is inactive. When editing large files, my app takes a lot of time to highlight code typed in the text view,...