This commit is contained in:
teebarjunk 2021-10-18 19:52:40 -04:00
parent 5bcd5a47b0
commit c8ce103df4
3 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# Text Editor
Version `1.4`
Version `1.5`
![](README/readme_preview.png)
@ -26,10 +26,12 @@ Version `1.4`
# Controls
- `ctrl + W` Close file
- `ctrl + N` New file
- `ctrl + shift + W` Open last closed file
- `ctrl + tab` Select next open file
- `ctrl + shift + tab` Select last open file
- `ctrl + mouse wheel` Adjust font size
- `ctrl + shift + mouse wheel` Adjust ui font size
- `ctrl + up` `ctrl + down` Move selected lines
- `ctrl + /` Toggle line comments
- `ctrl + M` Toggle file meta info

View File

@ -39,7 +39,7 @@ TooltipLabel/fonts/font = ExtResource( 12 )
[sub_resource type="Theme" id=7]
TooltipLabel/fonts/font = ExtResource( 12 )
[node name="text_editor" type="Control"]
[node name="editor" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3

View File

@ -4,7 +4,7 @@ extends TE_ExtensionHelper
func toggle_comment(t:TextEdit, head:String="<!-- ", tail:String=" -->"):
return .toggle_comment(t, head, tail)
func apply_colors(e:TE_TextEditor, t:TextEdit):
func apply_colors(e:TE_Editor, t:TextEdit):
.apply_colors(e, t)
t.add_keyword_color("true", e.color_var)