Great long-read of making a native text editor app as a solo dev (you probably heard or used it - Paper app).
https://papereditor.app/dev
In the second part the author concentrates on the deep-tech stuff - how text editing works internally.
https://papereditor.app/internals
>>Click here to continue<<