Adding comment concerning GetAlignment return values not showing mixed state

git-svn-id: svn://10.0.0.236/trunk@78393 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cmanske%netscape.com 2000-09-07 14:33:06 +00:00
parent d0aded1e30
commit e9ae2be8e1
2 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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