1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Automatically add new line to scripts

This commit is contained in:
Matheus Lima Cunha
2019-05-28 18:27:32 -03:00
parent 06e580f5ba
commit 7fbb6d986f
10 changed files with 46 additions and 1 deletions

View File

@@ -241,6 +241,11 @@ void TextEditor::trim_trailing_whitespace() {
code_editor->trim_trailing_whitespace();
}
void TextEditor::insert_final_newline() {
code_editor->insert_final_newline();
}
void TextEditor::convert_indent_to_spaces() {
code_editor->convert_indent_to_spaces();