initial commit
This commit is contained in:
commit
10cfdbd252
129 changed files with 3881 additions and 0 deletions
80
src/code.tscn
Executable file
80
src/code.tscn
Executable file
|
|
@ -0,0 +1,80 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://byt4c7isecxso"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/code.gd" id="1_kmlt3"]
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_26e8s"]
|
||||
device = -1
|
||||
ctrl_pressed = true
|
||||
keycode = 83
|
||||
unicode = 115
|
||||
|
||||
[sub_resource type="Shortcut" id="Shortcut_xrwox"]
|
||||
events = [SubResource("InputEventKey_26e8s")]
|
||||
|
||||
[sub_resource type="CodeHighlighter" id="CodeHighlighter_tcpfj"]
|
||||
number_color = Color(0.556863, 0.258824, 0.392157, 1)
|
||||
symbol_color = Color(0, 0, 0.745098, 1)
|
||||
function_color = Color(0.686275, 0, 0.368627, 1)
|
||||
member_variable_color = Color(0.239216, 0.878431, 0.827451, 1)
|
||||
keyword_colors = {
|
||||
"button": Color(0, 0, 1, 1),
|
||||
"height": Color(0.329284, 0.803401, 0.828125, 1),
|
||||
"width": Color(0.329412, 0.803922, 0.827451, 1)
|
||||
}
|
||||
|
||||
[node name="Code" type="PanelContainer"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
script = ExtResource("1_kmlt3")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 8
|
||||
|
||||
[node name="Controls" type="HBoxContainer" parent="MarginContainer/VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="Save" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer/Controls"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
shortcut = SubResource("Shortcut_xrwox")
|
||||
text = "Save"
|
||||
|
||||
[node name="Load" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer/Controls"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Load"
|
||||
|
||||
[node name="Spacer" type="Control" parent="MarginContainer/VBoxContainer/MarginContainer/Controls"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Reload" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer/Controls"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Reload"
|
||||
|
||||
[node name="Editor" type="CodeEdit" parent="MarginContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
highlight_all_occurrences = true
|
||||
highlight_current_line = true
|
||||
draw_tabs = true
|
||||
syntax_highlighter = SubResource("CodeHighlighter_tcpfj")
|
||||
gutters_draw_line_numbers = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue