Thanks for the reply, Dalgo. The solution ended up being simple. I just had to turn off width tracking on my NSTextView's NSTextContainer. If anyone else is interested, here's the code I'm using to initialize the objects (scrollView is an NSScrollView and editBox is an NSTextView):
[scrollView setHasVerticalScroller:YES];
[scrollView setHasHorizontalScroller:YES];
[scrollView setDocumentView

NSView *)editBox];
[[editBox textContainer] setContainerSize:NSMakeSize(500000.0,500000.0)];
[[editBox textContainer] setWidthTracksTextView:NO];
[[editBox textContainer] setHeightTracksTextView:NO];
[editBox setHorizontallyResizable:YES];
[editBox setVerticallyResizable:YES];
[editBox setMaxSize:NSMakeSize(500000.0,500000.0)];
------------------