Adding comment concerning GetAlignment return values not showing mixed state

This commit is contained in:
cmanske%netscape.com 2000-09-07 14:33:06 +00:00
Родитель 6c9b820e3a
Коммит 099cb64947
2 изменённых файлов: 8 добавлений и 4 удалений

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

@ -560,8 +560,10 @@ NS_IMETHODIMP
nsHTMLEditRules::GetAlignment(PRBool &aMixed, nsIHTMLEditor::EAlignment &aAlign)
{
// for now, just return first alignment. we'll lie about
// if it's mixed. This is for efficiency, given that our
// current ui doesn't care if it's mixed.
// if it's mixed. This is for efficiency
// given that our current ui doesn't care if it's mixed.
// cmanske: NOT TRUE! We would like to pay attention to mixed state
// in Format | Align submenu!
// this routine assumes that alignment is done ONLY via divs

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

@ -560,8 +560,10 @@ NS_IMETHODIMP
nsHTMLEditRules::GetAlignment(PRBool &aMixed, nsIHTMLEditor::EAlignment &aAlign)
{
// for now, just return first alignment. we'll lie about
// if it's mixed. This is for efficiency, given that our
// current ui doesn't care if it's mixed.
// if it's mixed. This is for efficiency
// given that our current ui doesn't care if it's mixed.
// cmanske: NOT TRUE! We would like to pay attention to mixed state
// in Format | Align submenu!
// this routine assumes that alignment is done ONLY via divs