CodeEditView
custom text view implementation
Install / Use
/learn @krzyzanowskim/CodeEditViewREADME
Never finished and abandoned attempt to build a text layout + text view.
Re-inventing the wheel by implementing a custom text layout system on the CoreText framework. I learned a lot and decided not to pursue this approach.
- LayoutManager
LayoutManagertext layout manager. layout text from theTextStorage. Layout lines (fragments) of text at once.
- Model
- text storage abstracted
Range,Position,SelectionRange, etc
- text storage abstracted
- TextStorage
TextStorageabstracted text storage interfaceTextStorageProviderprotocol for any text storageTextBufferStorageProviderTextBuffer-based implementation of the text storage providerStringTextStorageProviderString-based implementation of the text storage provider
- CodeEditView
- Text view (NSView)
Contact
Get in touch via twitter @krzyzanowskim, mastodon @krzyzanowskim@mastodon.social
