Put ~ back in text_filter. Why? Because I believe that 99.9% of users won't realize to update their automatic text replacements, and will report an error that the tilde no longer functions. Is it possible to just have automatic text replacements update when new ones are added, while keeping custom ones?

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1294 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
pichoro
2009-01-04 20:25:37 +00:00
parent 1c925a6225
commit 018b6a6c6b
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -1,4 +1,4 @@
############################################################## Auto replace
# Do we need categories?
@@ -34,9 +34,6 @@ auto replace:
auto replace:
match: @
replace: LEGENDNAME
auto replace:
match: ~
replace: CARDNAME
auto replace:
match: ~THIS~
replace: CARDNAME
+1 -1
View File
@@ -394,7 +394,7 @@ text_filter :=
) +
# step 3a : expand shortcut word CARDNAME
replace@(
match: "CARDNAME",
match: "~|CARDNAME",
in_context: "(^|[[:space:]]|\\()<match>", # TODO: Allow any punctuation before
replace: "<atom-cardname></atom-cardname>"
) +