mirror of
https://github.com/Relintai/Godot-TextEditor.git
synced 2025-02-04 19:15:54 +01:00
1.5
This commit is contained in:
parent
5bcd5a47b0
commit
c8ce103df4
@ -1,5 +1,5 @@
|
|||||||
# Text Editor
|
# Text Editor
|
||||||
Version `1.4`
|
Version `1.5`
|
||||||
|
|
||||||
![](README/readme_preview.png)
|
![](README/readme_preview.png)
|
||||||
|
|
||||||
@ -26,10 +26,12 @@ Version `1.4`
|
|||||||
|
|
||||||
# Controls
|
# Controls
|
||||||
- `ctrl + W` Close file
|
- `ctrl + W` Close file
|
||||||
|
- `ctrl + N` New file
|
||||||
- `ctrl + shift + W` Open last closed file
|
- `ctrl + shift + W` Open last closed file
|
||||||
- `ctrl + tab` Select next open file
|
- `ctrl + tab` Select next open file
|
||||||
- `ctrl + shift + tab` Select last open file
|
- `ctrl + shift + tab` Select last open file
|
||||||
- `ctrl + mouse wheel` Adjust font size
|
- `ctrl + mouse wheel` Adjust font size
|
||||||
|
- `ctrl + shift + mouse wheel` Adjust ui font size
|
||||||
- `ctrl + up` `ctrl + down` Move selected lines
|
- `ctrl + up` `ctrl + down` Move selected lines
|
||||||
- `ctrl + /` Toggle line comments
|
- `ctrl + /` Toggle line comments
|
||||||
- `ctrl + M` Toggle file meta info
|
- `ctrl + M` Toggle file meta info
|
||||||
|
@ -39,7 +39,7 @@ TooltipLabel/fonts/font = ExtResource( 12 )
|
|||||||
[sub_resource type="Theme" id=7]
|
[sub_resource type="Theme" id=7]
|
||||||
TooltipLabel/fonts/font = ExtResource( 12 )
|
TooltipLabel/fonts/font = ExtResource( 12 )
|
||||||
|
|
||||||
[node name="text_editor" type="Control"]
|
[node name="editor" type="Control"]
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
|
@ -4,7 +4,7 @@ extends TE_ExtensionHelper
|
|||||||
func toggle_comment(t:TextEdit, head:String="<!-- ", tail:String=" -->"):
|
func toggle_comment(t:TextEdit, head:String="<!-- ", tail:String=" -->"):
|
||||||
return .toggle_comment(t, head, tail)
|
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)
|
.apply_colors(e, t)
|
||||||
|
|
||||||
t.add_keyword_color("true", e.color_var)
|
t.add_keyword_color("true", e.color_var)
|
||||||
|
Loading…
Reference in New Issue
Block a user