mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
Added <prefix> and <suffix> tags;
Added prefix and suffix support to combined_editor; 'always symbol' now checks if the symbols are available in the symbol font; Fixed parser bug in spec_sort; A first information field is no longer used as set identification git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@653 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+5
-1
@@ -55,7 +55,8 @@ The rest of the properties depend on the type of [[type:field]] this style is fo
|
||||
! Type Property Type Default Description
|
||||
| @"text"@ @font@ [[type:font]] ''Required'' Font to render the text.
|
||||
| ^^^ @symbol font@ [[type:symbol font]] Font to render symbols in the text (optional).
|
||||
| ^^^ @always symbol@ [[type:boolean]] @false@ Should all text be rendered with symbols?<br/>If set, @font@ is not needed.
|
||||
| ^^^ @always symbol@ [[type:boolean]] @false@ Should all text be rendered with symbols?<br/>
|
||||
Text that is not supported by the symbol font is still rendered as normal text.
|
||||
| ^^^ @allow formating@ [[type:boolean]] @true@ Is custom formating (bold, italic) allowed?
|
||||
| ^^^ @alignment@ [[type:scriptable]] [[type:alignment]] @top left@ Alignment of the text.
|
||||
| ^^^ @angle@ [[type:scriptable]] [[type:int]] @0@ Rotation of the text inside the box, in degrees.
|
||||
@@ -72,6 +73,9 @@ The rest of the properties depend on the type of [[type:field]] this style is fo
|
||||
A line height of @0@ means all lines are in the same position, @1@ is normal behaviour, @2@ skips a line, etc.
|
||||
| ^^^ @line height hard@ [[type:double]] @1@ Multiplier for the line height of 'hard' line breaks. These are breaks caused by the enter key.
|
||||
| ^^^ @line height line@ [[type:double]] @1@ Multiplier for the line height of 'soft' line breaks. These are breaks caused by @"<line>\n</line>"@ tags.
|
||||
| ^^^ @line height soft max@ ^^^ ''disabled'' When there is still vertical room in the text box, increase the line heights to at most these values to spread the text more evenly.
|
||||
| ^^^ @line height hard max@ ^^^ ^^^ ^^^
|
||||
| ^^^ @line height line max@ ^^^ ^^^ ^^^
|
||||
| ^^^ @mask@ [[type:filename]] ''none'' A mask that indicates where in the box text can be placed.<br/>
|
||||
Text is never put in black areas of the box:<br/>
|
||||
<img src="style-text-mask.png" alt=""/>
|
||||
|
||||
@@ -36,6 +36,8 @@ This is written as the character with code 1 in files.
|
||||
| @"<sep>"@ A separator between fields. This tag is automatically inserted by the [[fun:combined_editor]] function.<br/>
|
||||
Inserting this tag manually will confuse that function!<br/>
|
||||
This tag can never be selected, and its contents can not be edited.
|
||||
| @"<prefix>"@ At the beginning of a string, indicates a part that can not be selected. This tag is automatically inserted by the [[fun:combined_editor]] function.
|
||||
| @"<suffix>"@ At the end of a string, indicates a part that can not be selected. This tag is automatically inserted by the [[fun:combined_editor]] function.
|
||||
| @"<sep-soft>"@ Like @"<sep>"@, only hidden. This is inserted by [[fun:combined_editor]]
|
||||
| @"<soft>"@ Text who's width is ignored for alignment, similair to @"<sep-soft>"@, but not a separator.
|
||||
| @"<word-list-?>"@ Indicate that the text inside the tag should be selected from a [[type:word list]].
|
||||
|
||||
Reference in New Issue
Block a user