mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
Implemented auto replace, including GUI
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@631 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -32,3 +32,18 @@ IMPLEMENT_REFLECTION_NO_SCRIPT(WordList) {
|
||||
REFLECT(words);
|
||||
}
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------- : Auto replace words
|
||||
|
||||
AutoReplace::AutoReplace()
|
||||
: enabled(true)
|
||||
, whole_word(true)
|
||||
, custom(true)
|
||||
{}
|
||||
|
||||
IMPLEMENT_REFLECTION_NO_SCRIPT(AutoReplace) {
|
||||
REFLECT(enabled);
|
||||
REFLECT(whole_word);
|
||||
REFLECT(match);
|
||||
REFLECT(replace);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user