STTextView
CodeEditor
STTextView | CodeEditor | |
---|---|---|
2 | 2 | |
861 | 415 | |
- | 2.9% | |
9.1 | 4.8 | |
14 days ago | about 2 months ago | |
Swift | Swift | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
STTextView
-
Nerdy internals of an Apple text editor
For the educational purpose of modern TextKit and NSTextView-like implementation, you can check out https://github.com/krzyzanowskim/STTextView that is modern re-implementation of the text view.
-
I Quit Using SwiftUI
Out of curiosity, what framework/library/solution are you using for your text editor? I've been researching this space for a while and syntax highlighting text editors are rare and sparse.
There is this: https://github.com/krzyzanowskim/STTextView for textkit2, but the author ended up writing his own text input client.
How did you do about providing autocomplete, etc?
Thanks!
CodeEditor
-
NavigationSplitView state management
The related issue: https://github.com/ZeeZide/CodeEditor/issues/15
- Richt TextEditor in SwiftUI
What are some alternatives?
NavigationBackport - Backported SwiftUI navigation APIs introduced in WWDC22
HighlightedTextEditor - A SwiftUI view for dynamically highlighting user input
TextEdit.it - A cut down, simple, text editor for Mac. Built with SwiftUI (mostly). [Moved to: https://github.com/markydoodled/Note.it]
AuroraEditor - Aurora Editor is a IDE built by the community, for the community, and written in Swift for the best native performance and feel for macOS.
TextViewBenchmark - A suite of performance tests for macOS text views
CodeEditorView - SwiftUI code editor view for iOS, visionOS, and macOS
Proton - Purely native and extensible rich text editor for iOS and macOS Catalyst apps
MiaoYan - ⛷ Lightweight Markdown app to help you write great sentences. ⛷ 轻灵的 Markdown 笔记本伴你写出妙言
SwiftUIBackports - A collection of SwiftUI backports for iOS, macOS, tvOS and watchOS
Pine - A modern, native macOS markdown editor