mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 12:01:16 +00:00
Some debugging code added for ignorant programmers like me :-|
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@11439 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a76799770b
commit
b90478951d
1 changed files with 4 additions and 0 deletions
|
@ -609,12 +609,16 @@ static BOOL done_editing;
|
||||||
if (view == nil)
|
if (view == nil)
|
||||||
{
|
{
|
||||||
view = [super hitTest: [theEvent locationInWindow]];
|
view = [super hitTest: [theEvent locationInWindow]];
|
||||||
|
NSDebugMLog(@"Mousedown on view : %@, self : %@", view, self);
|
||||||
|
NSDebugLog(@"edit view : %@", edit_view);
|
||||||
|
|
||||||
/* Make sure we're selecting the proper view - must be a direct
|
/* Make sure we're selecting the proper view - must be a direct
|
||||||
decendant of the edit_view */
|
decendant of the edit_view */
|
||||||
while (view != nil && view != self
|
while (view != nil && view != self
|
||||||
&& view != edit_view && [view superview] != edit_view)
|
&& view != edit_view && [view superview] != edit_view)
|
||||||
{
|
{
|
||||||
view = [view superview];
|
view = [view superview];
|
||||||
|
NSDebugLog(@"superview... : %@", view);
|
||||||
}
|
}
|
||||||
if (view == self && edit_view != self)
|
if (view == self && edit_view != self)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue