bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: GSMutableDictionary(instance) does not recognize willRemoveSubView:


From: Benhur Stein
Subject: RE: GSMutableDictionary(instance) does not recognize willRemoveSubView:
Date: Wed, 19 Mar 2003 12:12:02 -0300
User-agent: Internet Messaging Program (IMP) 3.0

Citando Adam Fedor <fedor@doc.com>:

> Whoops. Sorry, I was looking at the backtrace again and realized it's a
> problem with the NSMatrix patch the Benhur gave me.  I'll have to look at
> that instead.

Yes, sorry..

In the patch, -mouseDown: calls -_selectCell:atRow:column: instead
of changing the selected cell manually. The problem is that -_selectCell:..
calls -selectTextAtRow:column:, and that probably interferes with 
what -mouseDown: is setting up for edition.
Taking that call away from _selectCell: solves the problem.
Probably there will be problems with text not being selected when 
doing a selection programatically with -selectCell: (which I do not 
know if is a problem or not).

I think the solution would be to make -_selectCell:atRow:column: a simpler
auxiliar method and call it from -selectTextAtRow:column:
Other places that call -_selectCell:atRow:column: can be changed to
call -selectTextAtRow:column: if that is what should be done.

I can make a new patch with these changes.

Benhur





reply via email to

[Prev in Thread] Current Thread [Next in Thread]