mirror of
https://github.com/Relintai/godot-engine.file-editor.git
synced 2024-11-12 22:27:22 +01:00
136 lines
3.9 KiB
Plaintext
136 lines
3.9 KiB
Plaintext
[gd_scene load_steps=13 format=2]
|
|
|
|
[ext_resource path="res://addons/file-editor/scripts/FileScene.gd" type="Script" id=1]
|
|
[ext_resource path="res://addons/file-editor/icons/read.svg" type="Texture" id=2]
|
|
[ext_resource path="res://addons/file-editor/icons/edit.png" type="Texture" id=3]
|
|
[ext_resource path="res://addons/file-editor/fonts/Roboto-Black.ttf" type="DynamicFontData" id=4]
|
|
|
|
[sub_resource type="StyleBoxFlat" id=1]
|
|
content_margin_left = 10.0
|
|
content_margin_right = 10.0
|
|
bg_color = Color( 0.145098, 0.172549, 0.231373, 1 )
|
|
|
|
[sub_resource type="StyleBoxEmpty" id=2]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id=3]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id=4]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id=5]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id=6]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id=7]
|
|
|
|
[sub_resource type="DynamicFont" id=8]
|
|
font_data = ExtResource( 4 )
|
|
|
|
[node name="filename" type="VBoxContainer"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 4.0
|
|
margin_top = 32.0
|
|
margin_right = -4.0
|
|
margin_bottom = -4.0
|
|
size_flags_vertical = 3
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="."]
|
|
margin_right = 1016.0
|
|
margin_bottom = 4.0
|
|
|
|
[node name="TopBar" type="HBoxContainer" parent="."]
|
|
margin_top = 8.0
|
|
margin_right = 1016.0
|
|
margin_bottom = 28.0
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="TopBar"]
|
|
margin_right = 4.0
|
|
margin_bottom = 20.0
|
|
|
|
[node name="FileButton" type="MenuButton" parent="TopBar"]
|
|
margin_left = 8.0
|
|
margin_right = 51.0
|
|
margin_bottom = 20.0
|
|
custom_styles/hover = SubResource( 1 )
|
|
custom_styles/normal = SubResource( 1 )
|
|
text = "File"
|
|
flat = false
|
|
items = [ "Save File", null, 0, false, false, 0, 0, null, "", false, "Save file As...", null, 0, false, false, 1, 0, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Normal Preview", null, 0, false, false, 2, 0, null, "", false, "BBCode Preview", null, 0, false, false, 3, 0, null, "", false, "Markdown Preview (DEMO)", null, 0, false, false, 4, 0, null, "", false ]
|
|
|
|
[node name="filepath" type="Label" parent="TopBar"]
|
|
margin_left = 519.0
|
|
margin_top = 3.0
|
|
margin_right = 519.0
|
|
margin_bottom = 17.0
|
|
size_flags_horizontal = 6
|
|
|
|
[node name="close_btn" type="Button" parent="TopBar"]
|
|
margin_left = 988.0
|
|
margin_right = 1008.0
|
|
margin_bottom = 20.0
|
|
size_flags_horizontal = 8
|
|
text = "X"
|
|
|
|
[node name="VSeparator2" type="VSeparator" parent="TopBar"]
|
|
margin_left = 1012.0
|
|
margin_right = 1016.0
|
|
margin_bottom = 20.0
|
|
|
|
[node name="TextEditor" type="TextEdit" parent="."]
|
|
margin_top = 32.0
|
|
margin_right = 1016.0
|
|
margin_bottom = 541.0
|
|
size_flags_vertical = 3
|
|
syntax_highlighting = true
|
|
show_line_numbers = true
|
|
breakpoint_gutter = true
|
|
highlight_all_occurrences = true
|
|
smooth_scrolling = true
|
|
wrap_enabled = true
|
|
caret_blink = true
|
|
caret_blink_speed = 1.0
|
|
caret_moving_by_right_click = false
|
|
|
|
[node name="FileInfo" type="HBoxContainer" parent="."]
|
|
editor/display_folded = true
|
|
margin_top = 545.0
|
|
margin_right = 1016.0
|
|
margin_bottom = 564.0
|
|
|
|
[node name="Label" type="Label" parent="FileInfo"]
|
|
margin_top = 2.0
|
|
margin_right = 125.0
|
|
margin_bottom = 16.0
|
|
text = "Last modified time:"
|
|
|
|
[node name="lastmodified" type="Label" parent="FileInfo"]
|
|
margin_left = 129.0
|
|
margin_top = 2.0
|
|
margin_right = 129.0
|
|
margin_bottom = 16.0
|
|
|
|
[node name="Readonly" type="CheckBox" parent="FileInfo"]
|
|
margin_left = 929.0
|
|
margin_right = 1008.0
|
|
margin_bottom = 19.0
|
|
size_flags_horizontal = 10
|
|
custom_icons/checked = ExtResource( 2 )
|
|
custom_icons/unchecked = ExtResource( 3 )
|
|
custom_styles/hover = SubResource( 2 )
|
|
custom_styles/pressed = SubResource( 3 )
|
|
custom_styles/focus = SubResource( 4 )
|
|
custom_styles/disabled = SubResource( 5 )
|
|
custom_styles/hover_pressed = SubResource( 6 )
|
|
custom_styles/normal = SubResource( 7 )
|
|
custom_fonts/font = SubResource( 8 )
|
|
custom_colors/font_color = Color( 0.145098, 0.172549, 0.231373, 1 )
|
|
custom_colors/font_color_pressed = Color( 1, 1, 1, 1 )
|
|
text = "Can Edit"
|
|
flat = true
|
|
|
|
[node name="VSeparator3" type="VSeparator" parent="FileInfo"]
|
|
margin_left = 1012.0
|
|
margin_right = 1016.0
|
|
margin_bottom = 19.0
|