[Editor Log] Clear rich print tags only after the last line.
This commit is contained in:
@ -60,12 +60,14 @@ private:
|
||||
String text;
|
||||
MessageType type;
|
||||
int count = 1;
|
||||
bool clear = true;
|
||||
|
||||
LogMessage() {}
|
||||
|
||||
LogMessage(const String p_text, MessageType p_type) :
|
||||
LogMessage(const String p_text, MessageType p_type, bool p_clear) :
|
||||
text(p_text),
|
||||
type(p_type) {
|
||||
type(p_type),
|
||||
clear(p_clear) {
|
||||
}
|
||||
};
|
||||
|
||||
@ -166,7 +168,7 @@ private:
|
||||
void _set_search_visible(bool p_visible);
|
||||
void _search_changed(const String &p_text);
|
||||
|
||||
void _process_message(const String &p_msg, MessageType p_type);
|
||||
void _process_message(const String &p_msg, MessageType p_type, bool p_clear);
|
||||
void _reset_message_counts();
|
||||
|
||||
void _set_collapse(bool p_collapse);
|
||||
|
||||
Reference in New Issue
Block a user