STTextView
TextEdit.it
STTextView | TextEdit.it | |
---|---|---|
2 | 2 | |
861 | 7 | |
- | - | |
9.1 | 0.0 | |
14 days ago | about 3 years 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!
TextEdit.it
- Updated my text editor!
-
TextEdit.it, a simple, lightweight, macOS text editor
Here's my GitHub page: Project GitHub Page
What are some alternatives?
NavigationBackport - Backported SwiftUI navigation APIs introduced in WWDC22
Note.it - A Cut Down And Simple Code Editor For Mac And iOS, Built With SwiftUI.
CodeEditor - A SwiftUI TextEditor with syntax highlighting using Highlight.js
TextViewBenchmark - A suite of performance tests for macOS text views
Proton - Purely native and extensible rich text editor for iOS and macOS Catalyst apps
SwiftUIBackports - A collection of SwiftUI backports for iOS, macOS, tvOS and watchOS
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond