Restore syntax highlighting
This commit is contained in:
parent
583b6a594a
commit
7939ad5b8c
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,9 @@ Dictionary SyntaxHighlighter::get_line_syntax_highlighting(int p_line) {
|
|||
return color_map;
|
||||
}
|
||||
|
||||
GDVIRTUAL_CALL(_get_line_syntax_highlighting, p_line, color_map);
|
||||
if (!GDVIRTUAL_CALL(_get_line_syntax_highlighting, p_line, color_map)) {
|
||||
color_map = _get_line_syntax_highlighting_impl(p_line);
|
||||
}
|
||||
|
||||
highlighting_cache[p_line] = color_map;
|
||||
return color_map;
|
||||
|
|
Loading…
Reference in a new issue