changes to selection code to stop a never ending loop

This commit is contained in:
mjudge@netscape.com
1999-09-21 22:58:14 +00:00
parent 456caf893e
commit 95d94af406
9 changed files with 115 additions and 61 deletions

View File

@@ -269,6 +269,7 @@ NS_IMETHODIMP
nsTableCellFrame::SetSelected(nsIDOMRange *aRange,PRBool aSelected, nsSpread aSpread)
{
//traverse through children unselect tables
#if 0
if ((aSpread == eSpreadDown)){
nsIFrame* kid;
FirstChild(nsnull, &kid);
@@ -278,7 +279,9 @@ nsTableCellFrame::SetSelected(nsIDOMRange *aRange,PRBool aSelected, nsSpread aSp
kid->GetNextSibling(&kid);
}
}
return NS_OK;//nsFrame::SetSelected(aRange,aSelected,eSpreadNone);
//return nsFrame::SetSelected(aRange,aSelected,eSpreadNone);
#endif
return NS_OK;
}
PRIntn