summaryrefslogtreecommitdiffstats
path: root/tools/editor/code_editor.cpp
diff options
context:
space:
mode:
authorHubert Jarosz <marqin.pl@gmail.com>2016-03-09 00:00:52 +0100
committerHubert Jarosz <marqin.pl@gmail.com>2016-03-09 00:00:52 +0100
commit4a4f2479146aa33e235ed57cde311efda68d3c8f (patch)
treecf91f2869ff8f058c6682569fb31e22e5ee736ad /tools/editor/code_editor.cpp
parent1dad6eca812e5c2e313b54265114de8a1d73d999 (diff)
downloadredot-engine-4a4f2479146aa33e235ed57cde311efda68d3c8f.tar.gz
remove trailing whitespace
Diffstat (limited to 'tools/editor/code_editor.cpp')
-rw-r--r--tools/editor/code_editor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/editor/code_editor.cpp b/tools/editor/code_editor.cpp
index f7d335fba3..968d02dfa5 100644
--- a/tools/editor/code_editor.cpp
+++ b/tools/editor/code_editor.cpp
@@ -85,7 +85,7 @@ void FindReplaceDialog::popup_search() {
skip->hide();
popup_centered(Point2(300,190));
get_ok()->set_text("Find");
- search_text->grab_focus();
+ search_text->grab_focus();
if (text_edit->is_selection_active() && ( text_edit->get_selection_from_line() == text_edit->get_selection_to_line())) {
search_text->set_text( text_edit->get_selection_text() );
@@ -544,7 +544,7 @@ void CodeTextEditor::set_error(const String& p_error) {
}
void CodeTextEditor::_on_settings_change() {
-
+
// FONTS
String editor_font = EDITOR_DEF("text_editor/font", "");
bool font_overrode = false;
@@ -557,8 +557,8 @@ void CodeTextEditor::_on_settings_change() {
}
if(!font_overrode)
text_editor->add_font_override("font",get_font("source","Fonts"));
-
- // AUTO BRACE COMPLETION
+
+ // AUTO BRACE COMPLETION
text_editor->set_auto_brace_completion(
EDITOR_DEF("text_editor/auto_brace_complete", true)
);