Re: NSTableView and NSTextFieldCell redraw oddness when undo

2009-11-13 Thread jonat...@mugginsoft.com
On 13 Nov 2009, at 17:02, Corbin Dunn wrote: > > On Nov 13, 2009, at 8:19 AM, jonat...@mugginsoft.com wrote: > >> >> On 13 Nov 2009, at 15:15, Corbin Dunn wrote: >> >>> >>> On Nov 13, 2009, at 6:35 AM, jonat...@mugginsoft.com wrote: >>> I have a subclassed NSTextFieldCell to create a c

Re: NSTableView and NSTextFieldCell redraw oddness when undo

2009-11-13 Thread Corbin Dunn
On Nov 13, 2009, at 8:19 AM, jonat...@mugginsoft.com wrote: > > On 13 Nov 2009, at 15:15, Corbin Dunn wrote: > >> >> On Nov 13, 2009, at 6:35 AM, jonat...@mugginsoft.com wrote: >> >>> I have a subclassed NSTextFieldCell to create a cell that draws outside of >>> it's frame. >> >> All the lo

Re: NSTableView and NSTextFieldCell redraw oddness when undo

2009-11-13 Thread jonat...@mugginsoft.com
On 13 Nov 2009, at 15:15, Corbin Dunn wrote: > > On Nov 13, 2009, at 6:35 AM, jonat...@mugginsoft.com wrote: > >> I have a subclassed NSTextFieldCell to create a cell that draws outside of >> it's frame. > > All the logic in tableview redraws things based on -frameOfCellAtColumn:row:. > Thin

Re: NSTableView and NSTextFieldCell redraw oddness when undo

2009-11-13 Thread Corbin Dunn
On Nov 13, 2009, at 6:35 AM, jonat...@mugginsoft.com wrote: > I have a subclassed NSTextFieldCell to create a cell that draws outside of > it's frame. All the logic in tableview redraws things based on -frameOfCellAtColumn:row:. Things will frequently not get redrawn if you draw outside of tho

NSTableView and NSTextFieldCell redraw oddness when undo

2009-11-13 Thread jonat...@mugginsoft.com
I have a subclassed NSTextFieldCell to create a cell that draws outside of it's frame. This is to enable NSTableView rows to have one line of text that runs beneath several other cells. Bindings are utilised. This works fine except, curiously, when an operation is undone. In this case the cell o