I've had a few users complain about this and I never could reproduce it until a user sent a video. What I didn't realize the user was doing was scrolling very slowly or like you said, by a line or two.
I've started to investigate this issue and discovered something weird. If I use my own SciContentView subclass with my own scrollWheel: method that simply calls [super scrollWheel:theEvent] (SCROLL_WHEEL_MAGNIFICATION is undefined), the vertical scrolling is better for precise scrolling devices like the magic mouse and trackpad. You can test this for yourself by inserting the following into cocoa/ScintillaTest/AppController.mm:
@interface MyContentView : SCIContentView
@end
@implementation MyContentView
- (void) scrollWheel: (NSEvent *) theEvent
{
[super scrollWheel:theEvent];
}
@end
@interface MyScintillaView : ScintillaView
@end
@implementation MyScintillaView
+ (Class)contentViewClass
{
return([MyContentView class]);
}
@end
and changing the scintilla editor creation to use MyScintillaView.
For non-Apple mice with scrollwheels (hasPreciseScrollingDeltas==0), no scrolling happens if you scroll a "notch" at a time. I fixed that by scrolling by lineHeight when scrollingDeltaY is less than 1.