put in Mike's change to Clear the selection when we take focus

this fixes the bug that the collection of ranges was monotonically increasing to infinity
as you clicked around in the document.
This commit is contained in:
buster%netscape.com 1999-01-20 23:23:28 +00:00
Родитель b21598248c
Коммит c0c0ab4bbb
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -510,6 +510,7 @@ nsRangeList::TakeFocus(nsIFocusTracker *aTracker, nsIFrame *aFrame, PRInt32 aOff
return NS_ERROR_NULL_POINTER;
}
//END HACK
Clear(); //change this later
nsIFrame *frame;
nsIFrame *anchor;
nsCOMPtr<nsIContent> content;