(assuming "mirrorEditor" and "mainEditor" are NSTextViews).
This does indeed work, however I am noticing some weirdness with fonts:
If I start typing in my "main" textview, all is ok - I can then type
in the "mirror" textview, and the font remains correct.
However, if I start typing in my "mirror" textview BEFORE I have
typed anything in my "main" textview then the fonts are messed up
(they default to the system font).
This can be demonstrated by a very small piece of code:
(assume you have hooked up an NSView in IB on your main window to
hold the NSTextViews called "container")
Can anyone explain what is going on, and how to solve?
Cheers,
Duncan.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden