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

@@ -1962,6 +1962,7 @@ NS_METHOD nsTableFrame::Paint(nsIPresContext& aPresContext,
NS_IMETHODIMP
nsTableFrame::SetSelected(nsIDOMRange *aRange,PRBool aSelected, nsSpread aSpread)
{
#if 0
//traverse through children unselect tables
if ((aSpread == eSpreadDown)){
nsIFrame* kid;
@@ -1972,7 +1973,9 @@ nsTableFrame::SetSelected(nsIDOMRange *aRange,PRBool aSelected, nsSpread aSpread
rv = kid->GetNextSibling(&kid);
}
}
return NS_OK;//nsFrame::SetSelected(aRange,aSelected,eSpreadNone);
#endif
return NS_OK;//return nsFrame::SetSelected(aRange,aSelected,eSpreadNone);
}
PRBool nsTableFrame::ParentDisablesSelection() const //override default behavior