diff --git a/docs/notework.txt b/docs/notework.txt index 6a83549..c840650 100644 --- a/docs/notework.txt +++ b/docs/notework.txt @@ -10,6 +10,8 @@ ______________________________________________________________________ Notes for GoldED+ 1.1.5, /snapshot/ ______________________________________________________________________ +- Win32: Fixed addition of new words to MS Spell user dictionary. + - Set default color for spell checker to white on black. = Snapshot for the March 26, 2006. diff --git a/goldlib/gall/gespell.cpp b/goldlib/gall/gespell.cpp index 4da8507..deb95f8 100644 --- a/goldlib/gall/gespell.cpp +++ b/goldlib/gall/gespell.cpp @@ -641,9 +641,9 @@ cleanup0: void CSpellChecker::Close() { if (!IsInited()) return; + UnLoad(); mLangs.clear(); mInited = false; - mLang = NULL; } diff --git a/goldlib/gall/gespell.h b/goldlib/gall/gespell.h index abc9876..fa4ac7f 100644 --- a/goldlib/gall/gespell.h +++ b/goldlib/gall/gespell.h @@ -68,10 +68,6 @@ public: mToDicTable = mToLocTable = NULL; } - virtual ~CSpellLang() {} - - void Close() { UnLoad(); } - virtual bool Load(const char *codeset, const char *userdic) = 0; virtual void UnLoad() = 0; @@ -208,7 +204,6 @@ private: public: CMSSpellLang() { mLibrary = NULL; } - ~CMSSpellLang() { Close(); } bool Init(HKEY hKey, const char *name); @@ -240,7 +235,6 @@ private: public: CMYSpellLang() { mMSpell = NULL; } - ~CMYSpellLang() { Close(); } bool Init(const gdirentry *entry);