News for hackers. Stuff that matters.
Re:BBEdit is 30 years old by lillywastaken on Thursday May 11, 2023 @01:54PM (#35905735)
I believe it's still mostly C, and it definitely uses some custom text field stuff. If it were using the Cocoa textfield it would have smooth scrolling, but BBEdit still retains line-by-line scrolling.
Re:BBEdit is 30 years old by KerrAvon on Thursday May 11, 2023 @02:50PM (#35906573)
BBEdit can (and always could) read text files significantly larger than RAM without thrashing VM. This has always required a custom text engine, first because it was the only way to do that, and more recently I assume it still provides highest performance.
Re:BBEdit is 30 years old by rvense on Thursday May 11, 2023 @02:58PM (#35906702)
When it started, the native text editing on the Mac was limited to 32K chunks! Need anything more, you could start with the raw APIs that lay out a single line of text and do it by hand.