зеркало из https://github.com/mozilla/pjs.git
Added "EditorShowClipboard" function
This commit is contained in:
Родитель
e11d5572ef
Коммит
214c2eef70
|
@ -11,7 +11,7 @@
|
|||
function Startup()
|
||||
{
|
||||
dump("Doing Startup...\n");
|
||||
appCore = XPAppCoresManager.Find("EditorAppCore");
|
||||
appCore = XPAppCoresManager.Find(editorName);
|
||||
dump("Looking up EditorAppCore...\n");
|
||||
if (appCore == null) {
|
||||
dump("Creating EditorAppCore...\n");
|
||||
|
@ -50,6 +50,18 @@
|
|||
|
||||
}
|
||||
|
||||
function EditorShowClipboard()
|
||||
{
|
||||
dump("In EditorShowClipboard...\n");
|
||||
|
||||
appCore = XPAppCoresManager.Find(editorName);
|
||||
if (appCore != null) {
|
||||
dump("Doing EditorShowClipboard...\n");
|
||||
appCore.showClipboard();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function EditorApplyStyle(styleName)
|
||||
{
|
||||
appCore = XPAppCoresManager.Find(editorName);
|
||||
|
|
Загрузка…
Ссылка в новой задаче