Custom Background For NSTextView

  • Hello All --

    I am trying to create a background for an NSTextView that looks like
    a pad of paper, i.e., it has rules under each line of the NSTextView.
    I have looked in the archives, and googled but have found no examples
    that do this. I was wondering if anyone had any suggestions, examples
    or pointers as to a good way to accomplish this task. The first thing
    that comes to mind is to subclass NSTextView and override drawRect
    and do it there, but I'm not sure that there isn't a better way of
    accomplishing this.

    Thanks very much.

    Thaddeus O. Cooper
    (<tcooper...>)
previous month september 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today