Fixed bug 12126. Removed pref code from nsHTMLEditor - do HLine pref stuff in JS instead.

git-svn-id: svn://10.0.0.236/trunk@44747 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cmanske%netscape.com
1999-08-27 04:12:47 +00:00
parent ce7afffa9a
commit 38146f9df0
17 changed files with 122 additions and 394 deletions

View File

@@ -1871,24 +1871,6 @@ nsEditorShell::InsertElement(nsIDOMElement *element, PRBool deleteSelection)
return result;
}
NS_IMETHODIMP
nsEditorShell::SaveHLineSettings(nsIDOMElement* aElement)
{
nsresult result = NS_NOINTERFACE;
switch (mEditorType)
{
case eHTMLTextEditorType:
// this is bogus. We should save the HLine settings (or HRule, as it's more properly known) here.
result = mEditor->SaveHLineSettings(aElement);
break;
case ePlainTextEditorType:
default:
result = NS_ERROR_NOT_IMPLEMENTED;
}
return result;
}
NS_IMETHODIMP
nsEditorShell::InsertLinkAroundSelection(nsIDOMElement* aAnchorElement)
{