Merge pull request #49582 from timothyqiu/codeedit-update-cache
Update cache after clearing delimiters in CodeEdit
This commit is contained in:
commit
5da885e1f7
1 changed files with 3 additions and 0 deletions
|
@ -1526,6 +1526,9 @@ void CodeEdit::_clear_delimiters(DelimiterType p_type) {
|
|||
}
|
||||
}
|
||||
delimiter_cache.clear();
|
||||
if (!setting_delimiters) {
|
||||
_update_delimiter_cache();
|
||||
}
|
||||
}
|
||||
|
||||
TypedArray<String> CodeEdit::_get_delimiters(DelimiterType p_type) const {
|
||||
|
|
Loading…
Reference in a new issue