Commit a253440f authored by twanvl's avatar twanvl

spellchecking can be disabled

parent ff780817
...@@ -422,11 +422,14 @@ text_filter := ...@@ -422,11 +422,14 @@ text_filter :=
replace: { _1 + to_upper(_2) }) + replace: { _1 + to_upper(_2) }) +
curly_quotes + curly_quotes +
# step 9 : spellcheck # step 9 : spellcheck
{ check_spelling( { if set.mark_errors then
language: language().spellcheck_code, check_spelling(
extra_dictionary: "/magic.mse-game/magic-words", language: language().spellcheck_code,
extra_match: additional_text_words extra_dictionary: "/magic.mse-game/magic-words",
)} extra_match: additional_text_words
)
else input
}
############################################################## Other boxes ############################################################## Other boxes
...@@ -441,8 +444,11 @@ flavor_text_filter := ...@@ -441,8 +444,11 @@ flavor_text_filter :=
# curly quotes # curly quotes
curly_quotes + curly_quotes +
# spellcheck # spellcheck
{ check_spelling(language:language().spellcheck_code) } { if set.mark_errors
then check_spelling(language:language().spellcheck_code)
else input
}
# Move the cursor past the separator in the p/t and type boxes # Move the cursor past the separator in the p/t and type boxes
type_over_pt := replace@(match:"/$", replace:"") type_over_pt := replace@(match:"/$", replace:"")
type_over_type := replace@(match:" ?[-:]$", replace:"") type_over_type := replace@(match:" ?[-:]$", replace:"")
......
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