Commit f56b86c5 authored by pichoro's avatar pichoro

Trying to put a stop to bolding of parameters in VS.

parent e4c3d1ed
......@@ -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
......
......@@ -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>")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment