Godot: Add a multi-line text editor for exported strings

Created on 16 Feb 2019  路  5Comments  路  Source: godotengine/godot

Godot version:
3.1 beta 4

Issue description:
Editing exported strings is very uncomfortable when you want to use them as multi-line text because new lines can only be added by copying text from an external text editor.

My suggestion is to add a button to the right side of the line edit that opens a window where you can edit mult-line text.

archived

Most helpful comment

You can already use export(String, MULTILINE) var text for that, see https://docs.godotengine.org/en/latest/getting_started/scripting/gdscript/gdscript_basics.html#exports

All 5 comments

You can already use export(String, MULTILINE) var text for that, see https://docs.godotengine.org/en/latest/getting_started/scripting/gdscript/gdscript_basics.html#exports

[Export(PropertyHint.MultilineText)] should be the C# variation

It would be good to enhance the C# docs linked accordingly, it's quite terse currently on how options are available for [Export].

[Export(PropertyHint.MultilineText)] should be the C# variation

Thank you so much.

Was this page helpful?
0 / 5 - 0 ratings