Skip to content

Text Animator tags using square brackets do not accept modifiers. #141

Description

@pigggo

What is the current behavior?

Text Animator tags using square brackets (ie. [rainb]) do not accept modifiers. Replacing the square brackets with angle brackets fixes the issue, but makes formatting less apparent and results in a warning.

Please provide the steps to reproduce, and if possible a minimal demo of the problem:

  1. Add a modifier to a Text Animator tag in a Yarn Script, using square brackets.
Image Image

What is the expected behavior?

Modifiers like a & s should be processed in the same way they are when wrapped in angle brackets.

Please tell us about your environment

  • Operating System: Win 11
  • Yarn Spinner Version: 3.2.4
  • Extension Version: 3.2.113
  • Unity Version: 6000.3.17f1

Other information

Add tags

Core, Text Animator, VSCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething not working as intendedVSCodeIssues concerning the extension for Visual Studio Code in the VSCodeExtension repo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions