зеркало из https://github.com/mozilla/pjs.git
small interface change to InsertBreak
This commit is contained in:
Родитель
fd1334e42c
Коммит
709ac5c2c8
|
@ -121,9 +121,9 @@ NS_IMETHODIMP nsHTMLEditor::InsertText(const nsString& aStringToInsert)
|
|||
return Inherited::InsertText(aStringToInsert);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsHTMLEditor::InsertBreak(PRBool aCtrlKey)
|
||||
NS_IMETHODIMP nsHTMLEditor::InsertBreak()
|
||||
{
|
||||
return Inherited::InsertBreak(aCtrlKey);
|
||||
return Inherited::InsertBreak();
|
||||
}
|
||||
|
||||
// Methods shared with the base editor.
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
NS_IMETHOD RemoveTextProperty(nsIAtom *aProperty);
|
||||
NS_IMETHOD DeleteSelection(nsIEditor::Direction aDir);
|
||||
NS_IMETHOD InsertText(const nsString& aStringToInsert);
|
||||
NS_IMETHOD InsertBreak(PRBool aCtrlKey);
|
||||
NS_IMETHOD InsertBreak();
|
||||
|
||||
// Transaction control
|
||||
NS_IMETHOD EnableUndo(PRBool aEnable);
|
||||
|
|
|
@ -121,9 +121,9 @@ NS_IMETHODIMP nsHTMLEditor::InsertText(const nsString& aStringToInsert)
|
|||
return Inherited::InsertText(aStringToInsert);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsHTMLEditor::InsertBreak(PRBool aCtrlKey)
|
||||
NS_IMETHODIMP nsHTMLEditor::InsertBreak()
|
||||
{
|
||||
return Inherited::InsertBreak(aCtrlKey);
|
||||
return Inherited::InsertBreak();
|
||||
}
|
||||
|
||||
// Methods shared with the base editor.
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
NS_IMETHOD RemoveTextProperty(nsIAtom *aProperty);
|
||||
NS_IMETHOD DeleteSelection(nsIEditor::Direction aDir);
|
||||
NS_IMETHOD InsertText(const nsString& aStringToInsert);
|
||||
NS_IMETHOD InsertBreak(PRBool aCtrlKey);
|
||||
NS_IMETHOD InsertBreak();
|
||||
|
||||
// Transaction control
|
||||
NS_IMETHOD EnableUndo(PRBool aEnable);
|
||||
|
|
Загрузка…
Ссылка в новой задаче