You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
@@ -3486,6 +3486,13 @@ void TextEdit::_push_current_op() {
|
||||
|
||||
}
|
||||
|
||||
void TextEdit::set_tab_size(const int p_size) {
|
||||
ERR_FAIL_COND(p_size <= 0);
|
||||
tab_size = p_size;
|
||||
text.set_tab_size(p_size);
|
||||
update();
|
||||
}
|
||||
|
||||
void TextEdit::set_draw_tabs(bool p_draw) {
|
||||
|
||||
draw_tabs=p_draw;
|
||||
|
||||
Reference in New Issue
Block a user