From c8ce103df4849169a217be5b3e16e83bda07f610 Mon Sep 17 00:00:00 2001 From: teebarjunk Date: Mon, 18 Oct 2021 19:52:40 -0400 Subject: [PATCH] 1.5 --- README.md | 4 +++- addons/text_editor/TextEditor.tscn | 2 +- addons/text_editor/ext/ext_md.gd | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3c0e63a..2917d56 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/addons/text_editor/TextEditor.tscn b/addons/text_editor/TextEditor.tscn index d9fbbc6..8f7a266 100644 --- a/addons/text_editor/TextEditor.tscn +++ b/addons/text_editor/TextEditor.tscn @@ -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 diff --git a/addons/text_editor/ext/ext_md.gd b/addons/text_editor/ext/ext_md.gd index ba30754..13aa6e3 100644 --- a/addons/text_editor/ext/ext_md.gd +++ b/addons/text_editor/ext/ext_md.gd @@ -4,7 +4,7 @@ extends TE_ExtensionHelper func toggle_comment(t:TextEdit, head: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)