--- Andreas H�schler <[EMAIL PROTECTED]> wrote:
> Hello all,
Hi,
i couldn't find in the source where
-selectRow:byExtendingSelection:
contacts the delegate with -tableView:shouldSelectRow:
and believe it is currently sent only on event caused
selection changes not api caused, (anyone have a
better idea, or could test?)
i couldn't find in the docs anywhere it specifies if
it should/shouldn't, so i would add a
if ([self _shouldSelectRow:i])
{
around that.
}
> - (BOOL)_editNextEditableCellAfterRow:(int)row
> column: (int)column
> {
> int i, j;
>
> if (row > -1)
> {
> // First look for cells in the same row
> for (j = column + 1; j < _numberOfColumns;
> j++)
> {
> if (_isCellEditable (_delegate,
> _tableColumns, self, row, j)
> == YES)
> {
> [self editColumn: j row: row
> withEvent: nil select: YES];
> return YES;
> }
> }
> }
> // Otherwise, make the big cycle.
> for (i = row + 1; i < _numberOfRows; i++)
> {
> [self selectRow:i byExtendingSelection:NO];
> // <-- add this to
> make tabbing over row boundaries work
>
> for (j = 0; j < _numberOfColumns; j++)
> {
> if (_isCellEditable (_delegate,
> _tableColumns, self, i, j) ==
> YES)
> {
> [self editColumn: j row: i withEvent:
> nil select: YES];
> NSLog(@"row YES editColumn: %d row:
> %d", j, i);
> return YES;
> }
> }
> }
> return NO;
> }
>
> Regards,
>
> Andreas
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep