### Godot version

4.1 

### System information

Win 10

### Issue description

![image](https://github.com/godotengine/godot/assets/3350340/fb4d82dc-0301-46d4-85e8-032c32b09fcf)

When causing _"output oveflow"_ by printing a lot of text, formating breaks. Possible because enclosing tag get flushed.

Suggested solution: clear text formating after _output oveflow_ warning.

### Steps to reproduce

Print a lot of text with different text tags (like [color] or [bgcolor]) to console. For example in _process function.

### Minimal reproduction project

N/A
_clear_request();
}
void EditorLog::_process_message(const String &p_msg, MessageType p_type) {
	if (messages.size() > 0 && messages[messages.size() - 1].text == p_msg && messages[messages.size() - 1].type == p_type) {
		
		
		LogMessage &previous = messages.write[messages.size() - 1];
		previous.count++;
		_add_log_line(previous, collapse);
	} else {
		
		LogMessage message(p_msg, p_type);
		_add_log_line(message);
		messages.push_back(message);
	}
	type_filter_map[p_type]->set_message_count(type_filter_map[p_type]->get_message_count() + 1);
}
void EditorLog::add_message(const String &p_msg, MessageType p_type) {
	
	
	
	
	
	Vector<String> lines = p_msg.split("\n", true);
	for (int i = 0; i < lines.size(); i++) {
		_process_message(lines[i], p_type);
	}
}
void EditorLog::set_tool_button(Button *p_tool_button) {