On 2007-01-10 07:59:16 -0800 Fred Kiefer <[EMAIL PROTECTED]> wrote:

HI Matt,

could you please explain this patch a bit? Only the last bit is about
selecting the right cell in NSTrackModeMatrix. Are the other change a
result of this?
It looks like you intent to prevent the setting of the cell state for
this mode. Is this correct?

Yes, you understand the patch correctly,

I've just noticed the difference between -keyCell and -selected*,
 which seems to be what i need/the reason for my confusion.
this one is much cleaner :D

<matrix-kbd2.diff>


Index: NSMatrix.m
===================================================================
--- NSMatrix.m  (revision 24334)
+++ NSMatrix.m  (working copy)
@@ -3703,6 +3703,7 @@
                case NSHighlightModeMatrix:
                  cell = _cells[_dottedRow][_dottedColumn];
 
+                 [self selectCellAtRow:_dottedRow column: _dottedColumn];
                  [cell setNextState];
                  [self setNeedsDisplayInRect: [self cellFrameAtRow: _dottedRow
                                                     column: _dottedColumn]];
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to