Tables in Tiger NSTextView
Tables in Tiger NSTextView
- Subject: Tables in Tiger NSTextView
- From: David Rice <email@hidden>
- Date: Thu, 14 Jul 2005 12:44:43 -0400
I have an application that uses an NSTextView in its editor window.
When I insert a Table into the view, and adjust the table widths with
the <|> cursor that appears when over table cell right-side
boundaries, strange tracking occurs on mouse drags. The expected
behavior works for a moment, i.e. the cell width changes with the
mouse movement, but after dragging a bit, the cell being adjusted
seems to loose the connection to the mouse. If I drag to the right
the cell will be made narrower instead of wider, or the cell width
will switch back and forth to growing wider to growing narrower as
the drag progresses. Sometimes dragging the right edge of the left
cell in a 2 column table will cause the right cell's width to be
changed.
Sometimes, if I add or delete text in another cell, of the same table
the size adjustment while dragging is corrected, i.e. it works for a
moment, and then reverts to it's erratic behavior.
TextEdit displays similar symptoms but appears to be a little more
robust and the symptoms do not appear as quickly as in my editor.
Any insight would be appreciated. Are there some examples that
demonstrate correct behavior for tables in text?
BTW, the text editing functionality of the editor seems to be just
fine in all other respects.
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden