MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / set_warning_count

Method set_warning_count

editor/gui/code_editor.cpp:1746–1752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1744}
1745
1746void CodeTextEditor::set_warning_count(int p_warning_count) {
1747 warning_button->set_text(itos(p_warning_count));
1748 warning_button->set_visible(p_warning_count > 0);
1749 if (!p_warning_count) {
1750 _set_show_warnings_panel(false);
1751 }
1752}
1753
1754void CodeTextEditor::toggle_bookmark() {
1755 Vector<int> sorted_carets = text_editor->get_sorted_carets();

Callers 1

_update_warningsMethod · 0.80

Calls 3

itosFunction · 0.85
set_textMethod · 0.45
set_visibleMethod · 0.45

Tested by

no test coverage detected