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
LayoutManager
text 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
TextStorage
abstracted text storage interfaceTextStorageProvider
protocol for any text storageTextBufferStorageProvider
TextBuffer-based implementation of the text storage providerStringTextStorageProvider
String-based implementation of the text storage provider
- CodeEditView
- Text view (NSView)
Get in touch via twitter @krzyzanowskim, mastodon @[email protected]