This commit is contained in:
kin%netscape.com 1999-06-10 21:56:47 +00:00
Родитель 18a56f5177
Коммит 1eb6ba3ae2
5 изменённых файлов: 5 добавлений и 4 удалений

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

@ -2165,7 +2165,7 @@ nsHTMLEditor::InsertElement(nsIDOMElement* aElement, PRBool aDeleteSelection)
nsAutoJSEditorLogLock logLock(mJSEditorLog); nsAutoJSEditorLogLock logLock(mJSEditorLog);
if (mJSEditorLog) if (mJSEditorLog)
mJSEditorLog->InsertElement(aElement, aDeleteSelection, aReturn); mJSEditorLog->InsertElement(aElement, aDeleteSelection);
#endif // ENABLE_JS_EDITOR_LOG #endif // ENABLE_JS_EDITOR_LOG
nsresult res=NS_ERROR_NOT_INITIALIZED; nsresult res=NS_ERROR_NOT_INITIALIZED;

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

@ -20,6 +20,7 @@
// KEEPING AROUND FOR A FEW DAYS JUST TO MAKE SURE; // KEEPING AROUND FOR A FEW DAYS JUST TO MAKE SURE;
// BUT IT'S NO LONGER PART OF THE BUILD. // BUT IT'S NO LONGER PART OF THE BUILD.
#include "nsIDOMDocumentFragment.h"
#include "nsInsertHTMLTxn.h" #include "nsInsertHTMLTxn.h"
#include "nsIDOMSelection.h" #include "nsIDOMSelection.h"
#include "nsIContent.h" #include "nsIContent.h"

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

@ -658,7 +658,7 @@ nsJSEditorLog::CreateElementWithDefaults(const nsString& aTagName, nsIDOMElement
} }
NS_IMETHODIMP NS_IMETHODIMP
nsJSEditorLog::InsertElement(nsIDOMElement* aElement, PRBool aDeleteSelection, nsIDOMElement** aReturn) nsJSEditorLog::InsertElement(nsIDOMElement* aElement, PRBool aDeleteSelection)
{ {
// XXX: Need to add code here to dump out the element // XXX: Need to add code here to dump out the element
// XXX: and it's children. // XXX: and it's children.

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

@ -120,7 +120,7 @@ public:
NS_IMETHOD Align(const nsString& aAlign); NS_IMETHOD Align(const nsString& aAlign);
NS_IMETHOD GetSelectedElement(const nsString& aTagName, nsIDOMElement** aReturn); NS_IMETHOD GetSelectedElement(const nsString& aTagName, nsIDOMElement** aReturn);
NS_IMETHOD CreateElementWithDefaults(const nsString& aTagName, nsIDOMElement** aReturn); NS_IMETHOD CreateElementWithDefaults(const nsString& aTagName, nsIDOMElement** aReturn);
NS_IMETHOD InsertElement(nsIDOMElement* aElement, PRBool aDeleteSelection, nsIDOMElement** aReturn); NS_IMETHOD InsertElement(nsIDOMElement* aElement, PRBool aDeleteSelection);
NS_IMETHOD InsertLinkAroundSelection(nsIDOMElement* aAnchorElement); NS_IMETHOD InsertLinkAroundSelection(nsIDOMElement* aAnchorElement);
NS_IMETHOD SelectElement(nsIDOMElement* aElement); NS_IMETHOD SelectElement(nsIDOMElement* aElement);
NS_IMETHOD SetCaretAfterElement(nsIDOMElement* aElement); NS_IMETHOD SetCaretAfterElement(nsIDOMElement* aElement);

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

@ -2165,7 +2165,7 @@ nsHTMLEditor::InsertElement(nsIDOMElement* aElement, PRBool aDeleteSelection)
nsAutoJSEditorLogLock logLock(mJSEditorLog); nsAutoJSEditorLogLock logLock(mJSEditorLog);
if (mJSEditorLog) if (mJSEditorLog)
mJSEditorLog->InsertElement(aElement, aDeleteSelection, aReturn); mJSEditorLog->InsertElement(aElement, aDeleteSelection);
#endif // ENABLE_JS_EDITOR_LOG #endif // ENABLE_JS_EDITOR_LOG
nsresult res=NS_ERROR_NOT_INITIALIZED; nsresult res=NS_ERROR_NOT_INITIALIZED;