Skip to content

Commit 7a0b9a5

Browse files
committed
Adds #4 GDScript syntax highlighter to text
1 parent af0696f commit 7a0b9a5

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
uid://booh8t6pp0yef
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
uid://cwjob6rly8mk4

addons/gd_local_history/ui/local_history_panel/local_history_panel.tscn

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
[gd_scene load_steps=2 format=3 uid="uid://bho837dkjii8i"]
1+
[gd_scene load_steps=3 format=3 uid="uid://bho837dkjii8i"]
22

3-
[ext_resource type="Script" path="res://addons/gd_local_history/ui/local_history_panel/local_history_panel.gd" id="1_5wwrs"]
3+
[ext_resource type="Script" uid="uid://cwjob6rly8mk4" path="res://addons/gd_local_history/ui/local_history_panel/local_history_panel.gd" id="1_5wwrs"]
4+
5+
[sub_resource type="GDScriptSyntaxHighlighter" id="GDScriptSyntaxHighlighter_5v0lp"]
46

57
[node name="LocalHistoryPanel" type="Control"]
68
layout_mode = 3
@@ -29,6 +31,7 @@ layout_mode = 2
2931
editable = false
3032
scroll_smooth = true
3133
minimap_draw = true
34+
syntax_highlighter = SubResource("GDScriptSyntaxHighlighter_5v0lp")
3235
draw_tabs = true
3336
gutters_draw_line_numbers = true
3437
gutters_zero_pad_line_numbers = true

project.godot

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ config/name="GD-Local-History"
1414
config/description="An editor plugin for Godot that contains a local history panel. This shows recent changes to any files that have been saved recently, while also allowing you to refresh and delete entries."
1515
config/version="1.2"
1616
config/tags=PackedStringArray("plugin")
17-
config/features=PackedStringArray("4.3", "Forward Plus")
17+
config/features=PackedStringArray("4.4", "Forward Plus")
1818
config/icon="res://icon.svg"
1919

2020
[debug]

0 commit comments

Comments
 (0)