forked from gilzoide/godot-lua-pluginscript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlua_repl.tscn
More file actions
79 lines (67 loc) · 2.23 KB
/
lua_repl.tscn
File metadata and controls
79 lines (67 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[gd_scene load_steps=2 format=2]
[ext_resource path="res://addons/godot-lua-pluginscript/plugin/lua_repl.lua" type="Script" id=1]
[node name="LuaREPL" type="VBoxContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Header" type="HBoxContainer" parent="."]
margin_right = 1024.0
margin_bottom = 20.0
[node name="Title" type="Label" parent="Header"]
margin_top = 3.0
margin_right = 862.0
margin_bottom = 17.0
size_flags_horizontal = 3
text = "Lua PluginScript REPL:"
[node name="HistoryButton" type="MenuButton" parent="Header"]
margin_left = 866.0
margin_right = 924.0
margin_bottom = 20.0
text = "History"
flat = false
[node name="ResetButton" type="Button" parent="Header"]
margin_left = 928.0
margin_right = 976.0
margin_bottom = 20.0
hint_tooltip = "Reset the Lua environment and REPL history "
text = "Reset"
[node name="ClearButton" type="Button" parent="Header"]
margin_left = 980.0
margin_right = 1024.0
margin_bottom = 20.0
hint_tooltip = "Clear the output text"
text = "Clear"
[node name="Output" type="RichTextLabel" parent="."]
margin_top = 24.0
margin_right = 1024.0
margin_bottom = 572.0
rect_min_size = Vector2( 0, 100 )
focus_mode = 2
size_flags_vertical = 3
bbcode_enabled = true
scroll_following = true
selection_enabled = true
[node name="Footer" type="HBoxContainer" parent="."]
margin_top = 576.0
margin_right = 1024.0
margin_bottom = 600.0
[node name="LineEdit" type="LineEdit" parent="Footer"]
margin_right = 984.0
margin_bottom = 24.0
focus_neighbour_top = NodePath(".")
focus_neighbour_bottom = NodePath(".")
size_flags_horizontal = 3
clear_button_enabled = true
[node name="RunButton" type="Button" parent="Footer"]
margin_left = 988.0
margin_right = 1024.0
margin_bottom = 24.0
text = "Run"
[connection signal="pressed" from="Header/ResetButton" to="." method="_on_ResetButton_pressed"]
[connection signal="pressed" from="Header/ClearButton" to="." method="_on_ClearButton_pressed"]
[connection signal="gui_input" from="Footer/LineEdit" to="." method="_on_LineEdit_gui_input"]
[connection signal="text_entered" from="Footer/LineEdit" to="." method="_on_LineEdit_text_entered"]
[connection signal="pressed" from="Footer/RunButton" to="." method="_on_RunButton_pressed"]