initial commit
This commit is contained in:
@@ -0,0 +1,253 @@
|
||||
[gd_scene format=3 uid="uid://2h7dlutt3oos"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://buasenw2hs0d2" path="res://Main.cs" id="1_glv2v"]
|
||||
[ext_resource type="Script" uid="uid://cb2tu0m53gutb" path="res://Titlebar.cs" id="2_uu6xs"]
|
||||
[ext_resource type="Script" uid="uid://dagt0xj6bigoe" path="res://FileTree.cs" id="3_r0du0"]
|
||||
[ext_resource type="Script" uid="uid://bmk4pgp6wo3j6" path="res://TerminalTextEdit.cs" id="4_cm0pq"]
|
||||
[ext_resource type="Script" uid="uid://tqk3lyp17j44" path="res://FileBar.cs" id="4_fos0i"]
|
||||
[ext_resource type="Script" uid="uid://doid74gi7738t" path="res://TextEditor.cs" id="5_3dxm6"]
|
||||
|
||||
[sub_resource type="SystemFont" id="SystemFont_uu6xs"]
|
||||
font_names = PackedStringArray("Segoe MDL2 Assets")
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fos0i"]
|
||||
bg_color = Color(0.13333334, 0.13333334, 0.13333334, 0.3254902)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3dxm6"]
|
||||
bg_color = Color(0.13333334, 0.13333334, 0.13333334, 0.3254902)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_trn2v"]
|
||||
bg_color = Color(0.10747976, 0.10747973, 0.10747973, 1)
|
||||
|
||||
[sub_resource type="SystemFont" id="SystemFont_fos0i"]
|
||||
font_names = PackedStringArray("Segoe MDL2 Assets")
|
||||
|
||||
[sub_resource type="SystemFont" id="SystemFont_3dxm6"]
|
||||
font_names = PackedStringArray("Segoe MDL2 Assets")
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uu6xs"]
|
||||
bg_color = Color(0.13333334, 0.13333334, 0.13333334, 0.3254902)
|
||||
corner_radius_top_right = 3
|
||||
corner_radius_bottom_right = 3
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r0du0"]
|
||||
bg_color = Color(0.7764706, 0.12941177, 0.15294118, 0.3254902)
|
||||
corner_radius_top_right = 3
|
||||
corner_radius_bottom_right = 3
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cm0pq"]
|
||||
bg_color = Color(1, 0.34509805, 0.2627451, 0.3254902)
|
||||
corner_radius_top_right = 3
|
||||
corner_radius_bottom_right = 3
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cm0pq"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_r0du0"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_uu6xs"]
|
||||
|
||||
[node name="Main" type="Control" unique_id=657921291]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_glv2v")
|
||||
|
||||
[node name="titlebar" type="PanelContainer" parent="." unique_id=1699851517]
|
||||
custom_minimum_size = Vector2(0, 32)
|
||||
layout_mode = 1
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
grow_horizontal = 2
|
||||
script = ExtResource("2_uu6xs")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="titlebar" unique_id=1074158325]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="ActionButtons" type="HBoxContainer" parent="titlebar/HBoxContainer" unique_id=1544878867]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MenuButton" type="MenuButton" parent="titlebar/HBoxContainer/ActionButtons" unique_id=490051165]
|
||||
layout_mode = 2
|
||||
text = "File"
|
||||
item_count = 3
|
||||
popup/item_0/text = "Open Folder"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "Open File"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "Save"
|
||||
popup/item_2/id = 2
|
||||
|
||||
[node name="Seperator" type="Control" parent="titlebar/HBoxContainer" unique_id=483277094]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Label" type="Label" parent="titlebar/HBoxContainer" unique_id=1357600367]
|
||||
layout_mode = 2
|
||||
text = "ReEdit"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Seperator2" type="Control" parent="titlebar/HBoxContainer" unique_id=1129448481]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Actions" type="HBoxContainer" parent="titlebar/HBoxContainer" unique_id=1236919811]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="Minimize" type="Button" parent="titlebar/HBoxContainer/Actions" unique_id=962117261]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
custom_maximum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = SubResource("SystemFont_uu6xs")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_fos0i")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_3dxm6")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_trn2v")
|
||||
|
||||
[node name="Maximize" type="Button" parent="titlebar/HBoxContainer/Actions" unique_id=2042553142]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
custom_maximum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = SubResource("SystemFont_fos0i")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_fos0i")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_3dxm6")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_trn2v")
|
||||
|
||||
[node name="Close" type="Button" parent="titlebar/HBoxContainer/Actions" unique_id=834760880]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
custom_maximum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = SubResource("SystemFont_3dxm6")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_uu6xs")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_r0du0")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_cm0pq")
|
||||
|
||||
[node name="HBoxContainer" type="HSplitContainer" parent="." unique_id=1785405737]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_top = 0.012345679
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = 37.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
scale = Vector2(1.0009563, 1)
|
||||
split_offsets = PackedInt32Array(200)
|
||||
dragger_visibility = 1
|
||||
split_offset = 200
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="TreeView" type="PanelContainer" parent="HBoxContainer" unique_id=785390482]
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/TreeView" unique_id=122576850]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/TreeView/VBoxContainer" unique_id=375565839]
|
||||
layout_mode = 2
|
||||
text = " Files"
|
||||
|
||||
[node name="Tree" type="Tree" parent="HBoxContainer/TreeView/VBoxContainer" unique_id=210889386]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/hovered = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/hovered_dimmed = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/hovered_selected = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/hovered_selected_focus = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/selected = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/selected_focus = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/cursor = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/cursor_unfocused = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/button_hover = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/button_pressed = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/custom_button = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/custom_button_hover = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/custom_button_pressed = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/title_button_normal = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/title_button_pressed = SubResource("StyleBoxEmpty_cm0pq")
|
||||
theme_override_styles/title_button_hover = SubResource("StyleBoxEmpty_cm0pq")
|
||||
script = ExtResource("3_r0du0")
|
||||
|
||||
[node name="VSplitContainer" type="VSplitContainer" parent="HBoxContainer" unique_id=696991991]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PanelContainer2" type="PanelContainer" parent="HBoxContainer/VSplitContainer" unique_id=77602664]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/VSplitContainer/PanelContainer2" unique_id=1274895228]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TabBar" type="TabBar" parent="HBoxContainer/VSplitContainer/PanelContainer2/VBoxContainer" unique_id=937896665]
|
||||
layout_mode = 2
|
||||
tab_close_display_policy = 1
|
||||
script = ExtResource("4_fos0i")
|
||||
|
||||
[node name="CodeEdit" type="CodeEdit" parent="HBoxContainer/VSplitContainer/PanelContainer2/VBoxContainer" unique_id=496662525]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_r0du0")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_uu6xs")
|
||||
text = "Create or open a file to use the editor! "
|
||||
editable = false
|
||||
line_folding = true
|
||||
gutters_draw_breakpoints_gutter = true
|
||||
gutters_draw_bookmarks = true
|
||||
gutters_draw_executing_lines = true
|
||||
gutters_draw_line_numbers = true
|
||||
code_completion_enabled = true
|
||||
auto_brace_completion_enabled = true
|
||||
auto_brace_completion_highlight_matching = true
|
||||
script = ExtResource("5_3dxm6")
|
||||
|
||||
[node name="PanelContainer3" type="PanelContainer" parent="HBoxContainer/VSplitContainer" unique_id=1305098432]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/VSplitContainer/PanelContainer3" unique_id=2021515489]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/VSplitContainer/PanelContainer3/VBoxContainer" unique_id=430296057]
|
||||
layout_mode = 2
|
||||
text = "Terminal"
|
||||
|
||||
[node name="TextEdit" type="TextEdit" parent="HBoxContainer/VSplitContainer/PanelContainer3/VBoxContainer" unique_id=1659168341]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "ReEdit Terminal - 0.1.3
|
||||
Windows PowerShell
|
||||
Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
|
||||
Try the new cross-platform PowerShell https://aka.ms/pscore6
|
||||
|
||||
PS C:\\Users\\Madeline McWhorter\\Documents\\ReEdit> "
|
||||
script = ExtResource("4_cm0pq")
|
||||
|
||||
[node name="OpenFolder" type="FileDialog" parent="." unique_id=1104703234]
|
||||
oversampling_override = 1.0
|
||||
title = "Open a Directory"
|
||||
file_mode = 2
|
||||
access = 2
|
||||
show_hidden_files = true
|
||||
use_native_dialog = true
|
||||
|
||||
[node name="OpenFile" type="FileDialog" parent="." unique_id=1881298926]
|
||||
oversampling_override = 1.0
|
||||
title = "Open a File"
|
||||
file_mode = 0
|
||||
access = 2
|
||||
show_hidden_files = true
|
||||
use_native_dialog = true
|
||||
|
||||
[connection signal="pressed" from="titlebar/HBoxContainer/Actions/Minimize" to="titlebar" method="_OnMinimizePressed"]
|
||||
[connection signal="pressed" from="titlebar/HBoxContainer/Actions/Maximize" to="titlebar" method="_OnMaximizePressed"]
|
||||
[connection signal="pressed" from="titlebar/HBoxContainer/Actions/Close" to="titlebar" method="_OnClosePressed"]
|
||||
Reference in New Issue
Block a user