This commit is contained in:
akkana%netscape.com 1999-03-10 00:28:47 +00:00
Родитель fe3bde1bdd
Коммит 6b32065718
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -980,6 +980,8 @@ nsRangeList::ResetSelection(nsIFocusTracker *aTracker, nsIFrame *aStartFrame)
if (NS_SUCCEEDED(res))
frameContent = do_QueryInterface(GetFocusNode(),&res);
}
else
res = NS_OK;
if (NS_SUCCEEDED(res)){
for (PRUint32 i =0; i<mRangeArray->Count(); i++){
//end content and start content do NOT necessarily mean anchor and focus frame respectively
@ -1036,7 +1038,7 @@ nsRangeList::ResetSelection(nsIFocusTracker *aTracker, nsIFrame *aStartFrame)
res = ScrollIntoView(aTracker);
}
}
printf("debug reset selection has been called\n");
//printf("debug reset selection has been called\n");
return res;
}