TLDR Β· PROGRAMMING, DESIGN & DATA SCIENCE

NERDY INTERNALS OF AN APPLE TEXT EDITOR πŸ‘¨πŸ»πŸ”§

papereditor.app19 min read

Summary from the TLDR newsletter

This article discusses engineering details behind Paper, a text editor for Apple platforms. While Paper is built on the older TextKit 1 framework, all of the concepts, abstractions, and principles discussed in the article still apply to TextKit 2, either unchanged or under a better API. The article covers the TextView class, syntax highlighting, styling, typing, performance, sharing, and much more.