Skip to content

Pressing Enter in the Timeline Text Editor Can Absorb the Following Node/Event as Text #2608

@GameDevZach

Description

@GameDevZach

var line_stripped: String = line.strip_edges(true, true)

This line strips white space and line-break/carriage-return characters but not the back-slash from the text editor.

That means that when you press enter on a Text node in the timeline and then leave it without typing another character, the line will end with a backslash and absorb the following line as part of the text. For example, a Jump event following text now prints "jump {timeline name}" at the end of the speed box.

I'm not sure if it'd be better to strip backslash from the right-end or to avoid stripping line-breaks/carriage-returns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug 🐞Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions