mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
fc3173b9b4
This results in less merge conflicts when using the Text Editor > Files > Trim Trailing Whitespace editor setting. .ptex, .mmg and .json files generated weren't modified as these are saved by Material Maker. These files could be made to end with a newline automatically on save in a future commit.
6 lines
95 B
GDScript
6 lines
95 B
GDScript
extends Popup
|
|
|
|
func show_code(text : String) -> void:
|
|
$TextEdit.text = text
|
|
popup_centered()
|