mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 21:47:00 -04:00
Simple spelling checker using the Hunspell library.
Currently the checker is only exposed through the script function check_spelling_word, which returns true if the word is spelled correctly. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1261 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -70,6 +70,9 @@ class PackageDirectory {
|
||||
/// Does a package with the given name exist?
|
||||
bool exists(const String& name) const;
|
||||
|
||||
/// Get the package directory
|
||||
inline String getDirectory() const { return directory; }
|
||||
|
||||
/// Find all packages that match a filename pattern (using wxFindFirst)
|
||||
String findFirstMatching(const String& pattern) const;
|
||||
|
||||
@@ -161,6 +164,11 @@ class PackageManager {
|
||||
/// Install/uninstall a package, returns success
|
||||
bool install(const InstallablePackage& package);
|
||||
|
||||
// --------------------------------------------------- : Other package like things
|
||||
|
||||
/// Get the directory for dictionary files
|
||||
String getDictionaryDir(bool local) const;
|
||||
|
||||
// --------------------------------------------------- : Packages on a server
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user