<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Expanding all collapsed messages in log?]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">I've looked through the docs (I think I have!) and the forum - but can't find any reference to being able to expand collapsed messages automatically, or select all (or some) and then expand all collapsed messages/fields/etc underneath,</p>
<p dir="auto">This is for the purpose of cut and paste to documentation or exporting to a text log file.</p>
<p dir="auto">any suggestions?</p>
<p dir="auto">Regards<br />
Kym</p>
]]></description><link>http://64.23.185.212/forum/topic/316/expanding-all-collapsed-messages-in-log</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Mar 2026 07:03:08 GMT</lastBuildDate><atom:link href="http://64.23.185.212/forum/topic/316.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Sep 2024 10:02:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Expanding all collapsed messages in log? on Thu, 03 Oct 2024 06:02:39 GMT]]></title><description><![CDATA[<p dir="auto">Thanks! I'll give it a go.</p>
]]></description><link>http://64.23.185.212/forum/post/697</link><guid isPermaLink="true">http://64.23.185.212/forum/post/697</guid><dc:creator><![CDATA[Australian Antarctic Division]]></dc:creator><pubDate>Thu, 03 Oct 2024 06:02:39 GMT</pubDate></item><item><title><![CDATA[Reply to Expanding all collapsed messages in log? on Fri, 27 Sep 2024 03:50:30 GMT]]></title><description><![CDATA[<p dir="auto">Currently, there's no built-in UI feature for that. However, it's a totally legit feature request (and is quite easy to implement). We could add it to one of the upcoming releases.</p>
<p dir="auto">At the moment, what can be done instead is a simple plugin to expand ALL records:</p>
<pre><code>class AutoExpandFilterLayer:
	doc.Layer,
	log.FoldingFilter {

	ui.BoolProperty* m_expandProp;

	construct(doc.PluginHost* pluginHost) {
		basetype.construct(pluginHost);
		m_expandProp = pluginHost.m_propertyGrid.createBoolProperty("Expand all records");
		pluginHost.m_log.addFoldingFilter(this);
	}

	override void restoreDefaultProperties() {
		m_expandProp.m_value = true;
	}

	override uint8_t filter(
		uint64_t timestamp,
		uint64_t recordCode,
		void const* p,
		size_t size
	) {
		return m_expandProp.m_value ? log.FoldFlags.ExpandAll : 0;
	}
}
</code></pre>
<p dir="auto">Here's an archive with the full plugin:</p>
<p dir="auto"><a href="/forum/assets/uploads/files/1727408697339-autoexpand.7z">AutoExpand.7z</a></p>
<p dir="auto">After attaching it, all the new foldable records will be expanded by default. You can check/uncheck the "Expand all" property and rebuild the log to expand or collapse all foldable records.</p>
<p dir="auto">Hope this helps!</p>
]]></description><link>http://64.23.185.212/forum/post/696</link><guid isPermaLink="true">http://64.23.185.212/forum/post/696</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Fri, 27 Sep 2024 03:50:30 GMT</pubDate></item></channel></rss>