mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-13 14:07:01 -04:00
Trying to put a stop to bolding of parameters in VS.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1291 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -5,7 +5,7 @@ installer group: VS System/game files
|
|||||||
icon: card-back.png
|
icon: card-back.png
|
||||||
position hint: 3
|
position hint: 3
|
||||||
|
|
||||||
version: 2008-12-03
|
version: 2009-01-04
|
||||||
depends on:
|
depends on:
|
||||||
package: vs-common.mse-include
|
package: vs-common.mse-include
|
||||||
version: 2008-09-23
|
version: 2008-09-23
|
||||||
|
|||||||
+10
-10
@@ -62,18 +62,18 @@
|
|||||||
replace_rule(
|
replace_rule(
|
||||||
match: "->|>>>|@|<>|•",
|
match: "->|>>>|@|<>|•",
|
||||||
replace: "<sym-auto>&</sym-auto>") +
|
replace: "<sym-auto>&</sym-auto>") +
|
||||||
#X#if contains(card.shape, match:"old") then symbol_filter else new_symbols
|
# step 7: keyword parameters should not be bolded
|
||||||
# step 7a : Bold keywords without reminder text
|
# step 7a: put </b> before each <param>
|
||||||
replace_rule(
|
replace@(
|
||||||
match: "<kw[^>]*>[^<]+</kw-a>",
|
match: "<param[^>]*>",
|
||||||
replace: "<b-auto>&</b-auto>") +
|
replace: "</b-auto>&") +
|
||||||
# step 7b : Bold keywords with reminder text
|
# step 7b: put <b> after each </param>
|
||||||
replace_rule(
|
replace@(
|
||||||
match: "<kw[^>]*>[^<]+</kw-A>",
|
match: "</param[^>]*>",
|
||||||
replace: "<b-auto>&</b-auto>") +
|
replace: "&<b-auto>") +
|
||||||
# step 8 : Italic reminder text
|
# step 8 : Italic reminder text
|
||||||
replace_rule(
|
replace_rule(
|
||||||
match: "[(][^)\n]*[)]?",
|
match: "[(][^)\n]*[)]?",
|
||||||
in_context: "(^|[[:space:]])<match>|<atom-keyword><match>",
|
in_context: "(^|[[:space:]])<match>|<atom-keyword><match>",
|
||||||
replace: "<i-auto>&</i-auto>")
|
replace: "<i-auto>&</i-auto>")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user