### Godot version

4.x

### System information

Windows 10

### Issue description

The `Search Result` panel is not correctly updated when changing the theme.

https://user-images.githubusercontent.com/66004280/208964493-d0423b78-3418-44c9-95ed-822fd34c4720.mp4



### Steps to reproduce

1. Search something
2. Change the theme

### Minimal reproduction project

--
for (int i = 0; i < locations.size(); ++i) {
		int repl_line_number = locations[i].line_number;
		while (current_line < repl_line_number) {
			buffer += line;
			line = conservative.get_line(f);
			++current_line;
			offset = 0;
		}
		int repl_begin = locations[i].begin + offset;
		int repl_end = locations[i].end + offset;
		int _;
		if (!find_next(line, search_text, repl_begin, _finder->is_match_case(), _finder->is_whole_words(), _, _)) {
			
			print_verbose(String("Occurrence no longer matches, replace will be ignored in {0}: line {1}, col {2}").format(varray(fpath, repl_line_number, repl_begin)));
			continue;
		}
		line = line.left(repl_begin) + new_text + line.substr(repl_end);
		
		offset += new_text.length() - (repl_end - repl_begin);
	}
	buffer += line;
	while (!f->eof_reached()) {
		buffer += conservative.get_line(f);
	}
	
	Error err = f->reopen(fpath, FileAccess::WRITE);
	ERR_FAIL_COND_MSG(err != OK, "Cannot create file in path '" + fpath + "'.");
	f->store_string(buffer);
}
String FindInFilesPanel::get_replace_text() {