On Oct 7, 2018, at 3:31 PM, Alan Third <address@hidden> wrote:
> As you say it would be better to use proper scrolling without scrollRect, but I don't see any obvious way to do it. I suspect I just don't have enough knowledge of the cocoa APIs.
Remove the EmacsScroller machinery (for the Cocoa API), create a NSScrollView that wraps around the EmacsView (NSView):
[[scrollView contentView]addSubview: self];
Wouldn't we need one scrollView for each Emacs window? We'd need to hook into Emacs window resizing and so on. I don't think that's directly exposed to the NS code.