Exposed enable syntax highlighting to properties
This commit is contained in:
parent
0dc2adad46
commit
740dea7de7
1 changed files with 1 additions and 0 deletions
|
@ -4508,6 +4508,7 @@ void TextEdit::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("menu_option"),&TextEdit::menu_option);
|
||||
ObjectTypeDB::bind_method(_MD("get_menu:PopupMenu"),&TextEdit::get_menu);
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "syntax_highlighting"), _SCS("set_syntax_coloring"), _SCS("is_syntax_coloring_enabled"));
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "show_line_numbers"), _SCS("set_show_line_numbers"), _SCS("is_show_line_numbers_enabled"));
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "highlight_all_occurrences"), _SCS("set_highlight_all_occurrences"), _SCS("is_highlight_all_occurrences_enabled"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue