Quote:
Originally Posted by cc_
Another thing... if while you're at it you can think of a cleaner way to add the editable text stuff, let me know. The way I have at the moment is kind of nasty.
|
I had somehow already forgotten that cleaning up the duplicate code and member variables means object hell. IGraphicsCocoa and IGraphicsCarbon aren't children of IGraphics, so if you move all duplicate member variables to IGraphics, you can't reach them from IGraphicsCocoa and IGraphicsCarbon. And even when you can, your code becomes almost unreadable because of all the pointer overrides. So I am cleaning up only tiny bits of duplicate stuff.
Meanwhile, because I got stuck with cleaning up anyway, I am manually merging in your IEditableTextControl into my next branch.