General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › XMAX 13/14 SpellCheck
-
z5659879 January 2, 2020 at 5:48 pm
XMAX 13/14 SpellCheck
January 2, 2020 at 5:48 pmParticipants 1Replies 0Last Activity 3 years, 1 month agoWe 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.242This issue does not exist in our current XMAX 11/XMDE 11 Editor
-
AuthorPosts
- You must be logged in to reply to this topic.