33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser

This commit is contained in:
akkana@netscape.com
2001-01-08 21:01:29 +00:00
parent f958fd50db
commit dd69e61668
26 changed files with 425 additions and 643 deletions

View File

@@ -3276,7 +3276,7 @@ nsEditorShell::GetWrapColumn(PRInt32* aWrapColumn)
if (textEditor)
{
PRInt32 wc;
err = textEditor->GetBodyWrapWidth(&wc);
err = textEditor->GetWrapWidth(&wc);
if (NS_SUCCEEDED(err))
*aWrapColumn = (PRInt32)wc;
}
@@ -3304,7 +3304,7 @@ nsEditorShell::SetWrapColumn(PRInt32 aWrapColumn)
{
nsCOMPtr<nsIPlaintextEditor> textEditor = do_QueryInterface(mEditor);
if (textEditor)
err = textEditor->SetBodyWrapWidth(mWrapColumn);
err = textEditor->SetWrapWidth(mWrapColumn);
}
break;
default: