General XMetaL Discussion

  • z5659879

    XMAX 13/14 SpellCheck

    Participants 1
    Replies 0
    Last Activity 7 months, 1 week ago

    We are trying to upgrade XMAX 13 or 14. In our XMetal XML Editor built with XMDE 11, we have a button to open spellcheck interface. First time we open the editor and click the button, the spellcheck interface window opens. However, after we close the editor and reopen it, the Spell Check click has not reaction and we need to close our web session to make spellcheck work again. The js below does not trap any error.

    xmSpellCheck.CheckSpelling = function()
    {
        if (xmDRC.DocOK()) {
            if (g_objXMetal.IsSpellCheckerInstalled) {
                try {
                    g_objXMetal.ShowSpellChecker();
                } catch (e) {
                    alert('Failed to load spell checker:' + e.description);
                }
            } else {
                alert('Spell check has not been installed on this computer.');
            }
        } else {
            alert('No document is open.');
        }
    }

    System: Window 10
    Web App: .NET 4., Visual Studio 2015
    Web Browser, IE and Chrome
    XMetal Editor:  XMetal XMAX 14.0.0230,
    Visual Studio project XMetal Developer 11 and also tested with XMDE 12.0.242

    This issue does not exist in our current XMAX 11/XMDE 11 Editor

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support