<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Jivespace: Message List - C# code syntax highlighting macro needed</title>
    <link>http://www.jivesoftware.com/jivespace/community/developer?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Fri, 20 Feb 2009 19:16:07 GMT</pubDate>
    <generator>Jive SBS 3.0.8 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-02-20T19:16:07Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: C# code syntax highlighting macro needed</title>
      <link>http://www.jivesoftware.com/jivespace/message/172707?tstart=0#172707</link>
      <description>&lt;!-- [DocumentBodyStart:74fe64bb-6000-4b46-bac2-a2db81e948cb] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Hey Austen,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is there a macro for C++ code highlighting? If not, is there a tutorial somewhere that will tell me how to create one?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Nathan&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:74fe64bb-6000-4b46-bac2-a2db81e948cb] --&gt;</description>
      <pubDate>Fri, 20 Feb 2009 19:16:06 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/message/172707?tstart=0#172707</guid>
      <dc:date>2009-02-20T19:16:06Z</dc:date>
      <clearspace:dateToText>9 months, 4 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: C# code syntax highlighting macro needed</title>
      <link>http://www.jivesoftware.com/jivespace/message/149478?tstart=0#149478</link>
      <description>&lt;!-- [DocumentBodyStart:31f39ed6-4f40-4695-8dc2-9da29f81b2c6] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Eugene, was this helpful?&amp;#160; Did you have any additional questions?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:31f39ed6-4f40-4695-8dc2-9da29f81b2c6] --&gt;</description>
      <pubDate>Tue, 09 Dec 2008 14:55:40 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/message/149478?tstart=0#149478</guid>
      <dc:date>2008-12-09T14:55:40Z</dc:date>
      <clearspace:dateToText>11 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: C# code syntax highlighting macro needed</title>
      <link>http://www.jivesoftware.com/jivespace/message/148619?tstart=0#148619</link>
      <description>&lt;!-- [DocumentBodyStart:a7736a77-c361-44ff-8410-24b1284fc30b] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Eugene,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I don't think that we presently have anything like this in our plugins community.&amp;#160; To implement the macro, I would recommend overriding the CodeMacro spring definition (in spring-renderContext.xml) to add in your own custom formatter:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:d075a2b2-188f-4f71-b8ac-4e224baa59b3]--&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-xml"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span class="jive-xml-tag"&gt;&amp;lt;bean id="codeMacro" class="com.jivesoftware.community.renderer.macro.CodeMacro" scope="prototype"&amp;gt;&lt;/span&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span class="jive-xml-tag"&gt;&amp;lt;property name="enabled" value="true" /&amp;gt;&lt;/span&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span class="jive-xml-tag"&gt;&amp;lt;property name="formatters"&amp;gt;&lt;/span&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span class="jive-xml-tag"&gt;&amp;lt;list&amp;gt;&lt;/span&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span class="jive-xml-tag"&gt;&amp;lt;ref bean="plainCodeFormatter"/&amp;gt;&lt;/span&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span class="jive-xml-tag"&gt;&amp;lt;ref bean="javaCodeFormatter"/&amp;gt;&lt;/span&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span class="jive-xml-tag"&gt;&amp;lt;ref bean="xmlCodeFormatter"/&amp;gt;&lt;/span&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span class="jive-xml-tag"&gt;&amp;lt;ref bean="sqlCodeFormatter"/&amp;gt;&lt;/span&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span class="jive-xml-tag"&gt;&amp;lt;ref bean="htmlCodeFormatter"/&amp;gt;&lt;/span&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span class="jive-xml-tag"&gt;&amp;lt;/list&amp;gt;&lt;/span&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span class="jive-xml-tag"&gt;&amp;lt;/property&amp;gt;&lt;/span&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span class="jive-xml-tag"&gt;&amp;lt;property name="defaultFormatter" ref="plainCodeFormatter"/&amp;gt;&lt;/span&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;span class="jive-xml-tag"&gt;&amp;lt;/bean&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;!--[CodeBlockEnd:d075a2b2-188f-4f71-b8ac-4e224baa59b3]--&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You'll need to create a new spring bean definition for your custom formatter and then add it to the list of formatters above.&amp;#160; Take a look at the javaCodeFormatter for an example formatter.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a7736a77-c361-44ff-8410-24b1284fc30b] --&gt;</description>
      <pubDate>Fri, 05 Dec 2008 19:51:18 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/message/148619?tstart=0#148619</guid>
      <dc:date>2008-12-05T19:51:18Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>C# code syntax highlighting macro needed</title>
      <link>http://www.jivesoftware.com/jivespace/message/148398?tstart=0#148398</link>
      <description>&lt;!-- [DocumentBodyStart:7b281288-c537-4514-9408-b77f8adeeb07] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;We'd like to add C# to the list of languages for code syntax highlighting in Clearspace.&lt;/p&gt;&lt;p&gt;Is there an existing macro for this?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any hints about its creation are appreciated. I only found &lt;a class="jive-link-wiki-small" href="http://www.jivesoftware.com/jivespace/docs/DOC-3615"&gt;this doc&lt;/a&gt;on Building macros but don't want to re-invent the wheel.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;-Eugene&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7b281288-c537-4514-9408-b77f8adeeb07] --&gt;</description>
      <pubDate>Fri, 05 Dec 2008 10:35:02 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/message/148398?tstart=0#148398</guid>
      <dc:date>2008-12-05T10:35:02Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

