diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-06-06 22:06:58 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-06-06 22:06:58 -0300 |
commit | b524b40fdc5325c840192ce92dbed8108ccef2d9 (patch) | |
tree | ec7f74db082b4b91f7614ed4391c53bc73b60bfd /scene/gui | |
parent | 14c4c1b568ffa40a179332fbc77e9b52c6bdf514 (diff) |
-fixed many memory initialization issues
-fixed deadlock on previews thread
-fixed compilation errors on unix
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/text_edit.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 0c15f99509..c497bc5363 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -3601,6 +3601,10 @@ TextEdit::TextEdit() { set_focus_mode(FOCUS_ALL); _update_caches(); cache.size=Size2(1,1); + cache.row_height=1; + cache.line_spacing=1; + cache.line_number_w=1; + tab_size=4; text.set_tab_size(tab_size); text.clear(); |