Fix editing of some properties in `CodeHighlighter`
This commit is contained in:
parent
c3e16cda00
commit
56f095296c
|
@ -442,7 +442,6 @@ Color CodeHighlighter::get_keyword_color(const String &p_keyword) const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void CodeHighlighter::set_keyword_colors(const Dictionary p_keywords) {
|
void CodeHighlighter::set_keyword_colors(const Dictionary p_keywords) {
|
||||||
keywords.clear();
|
|
||||||
keywords = p_keywords;
|
keywords = p_keywords;
|
||||||
clear_highlighting_cache();
|
clear_highlighting_cache();
|
||||||
}
|
}
|
||||||
|
@ -476,7 +475,6 @@ Color CodeHighlighter::get_member_keyword_color(const String &p_member_keyword)
|
||||||
}
|
}
|
||||||
|
|
||||||
void CodeHighlighter::set_member_keyword_colors(const Dictionary &p_member_keywords) {
|
void CodeHighlighter::set_member_keyword_colors(const Dictionary &p_member_keywords) {
|
||||||
member_keywords.clear();
|
|
||||||
member_keywords = p_member_keywords;
|
member_keywords = p_member_keywords;
|
||||||
clear_highlighting_cache();
|
clear_highlighting_cache();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue