mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -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
|
||||
position hint: 3
|
||||
|
||||
version: 2008-12-03
|
||||
version: 2009-01-04
|
||||
depends on:
|
||||
package: vs-common.mse-include
|
||||
version: 2008-09-23
|
||||
|
||||
+10
-10
@@ -62,18 +62,18 @@
|
||||
replace_rule(
|
||||
match: "->|>>>|@|<>|•",
|
||||
replace: "<sym-auto>&</sym-auto>") +
|
||||
#X#if contains(card.shape, match:"old") then symbol_filter else new_symbols
|
||||
# step 7a : Bold keywords without reminder text
|
||||
replace_rule(
|
||||
match: "<kw[^>]*>[^<]+</kw-a>",
|
||||
replace: "<b-auto>&</b-auto>") +
|
||||
# step 7b : Bold keywords with reminder text
|
||||
replace_rule(
|
||||
match: "<kw[^>]*>[^<]+</kw-A>",
|
||||
replace: "<b-auto>&</b-auto>") +
|
||||
# step 7: keyword parameters should not be bolded
|
||||
# step 7a: put </b> before each <param>
|
||||
replace@(
|
||||
match: "<param[^>]*>",
|
||||
replace: "</b-auto>&") +
|
||||
# step 7b: put <b> after each </param>
|
||||
replace@(
|
||||
match: "</param[^>]*>",
|
||||
replace: "&<b-auto>") +
|
||||
# step 8 : Italic reminder text
|
||||
replace_rule(
|
||||
match: "[(][^)\n]*[)]?",
|
||||
match: "[(][^)\n]*[)]?",
|
||||
in_context: "(^|[[:space:]])<match>|<atom-keyword><match>",
|
||||
replace: "<i-auto>&</i-auto>")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user