views:

25

answers:

1

Hello,

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 done...

Just in case no one understands what I mean, I've attached a screenshot :P

http://web.me.com/david.schiefer/a4.png

Thanks :)

A: 

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/.

Ahruman