X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fui%2Fdialog%2Fscriptdialog.cpp;h=0e8a23baf75af137e8caf0c9dd7ea332b203f694;hb=438aa633b778c772e72fc75918155647ed50cde8;hp=ff075c1868da82da7d4992a4297423780f6667c5;hpb=724987df101f1d5d71becaa78a1ad854f45c2a76;p=inkscape.git diff --git a/src/ui/dialog/scriptdialog.cpp b/src/ui/dialog/scriptdialog.cpp index ff075c186..0e8a23baf 100644 --- a/src/ui/dialog/scriptdialog.cpp +++ b/src/ui/dialog/scriptdialog.cpp @@ -1,7 +1,7 @@ -/** - * Dialog for executing and monitoring script execution - * - * Author: +/** @file + * @brief Dialog for executing and monitoring script execution + */ +/* Author: * Bob Jamison * * Copyright (C) 2004-2008 Authors @@ -115,8 +115,10 @@ static const char *defaultCodeStr = " * This is some example Javascript.\n" " * Try 'Execute Javascript'\n" " */\n" + "importPackage(javax.swing);\n" "function sayHello() {\n" - " println('Hello, world!');\n" + " JOptionPane.showMessageDialog(null, 'Hello, world!',\n" + " 'Welcome to Inkscape', JOptionPane.WARNING_MESSAGE);\n" "}\n" "\n" "sayHello();\n" @@ -268,9 +270,13 @@ ScriptDialog &ScriptDialog::getInstance() } //namespace UI } //namespace Inkscape -//######################################################################### -//## E N D O F F I L E -//######################################################################### - - - +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :