I am thinking about modifying my NSTextView to look like an A4 sheet. So basically a line drawn around the textContainer, but I don't know how this could be d开发者_StackOverflow社区one...
Just in case no one understands what I mean, I've attached a screenshot :P
http://web.me.com/david.schiefer/a4.png
Thanks :)
If you’re likely to be wanting multiple pages, take a look at TextEdit (Format → Wrap to Page). Source code is in /Developer/Examples/TextEdit/.
精彩评论