<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Komodo Extensions</title>
	<atom:link href="http://schinckel.net/2007/04/12/komodo-extensions/feed/" rel="self" type="application/rss+xml" />
	<link>http://schinckel.net/2007/04/12/komodo-extensions/</link>
	<description>Like a fortune cookie, only without the fortune, and not a cookie.</description>
	<pubDate>Thu, 20 Nov 2008 13:19:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Komodek</title>
		<link>http://schinckel.net/2007/04/12/komodo-extensions/#comment-6369</link>
		<dc:creator>Komodek</dc:creator>
		<pubDate>Thu, 18 Sep 2008 19:49:56 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.net/2007/04/12/komodo-extensions/#comment-6369</guid>
		<description>Trent, thank you very much.
Your solution works perfectly!</description>
		<content:encoded><![CDATA[<p>Trent, thank you very much.<br />
Your solution works perfectly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2007/04/12/komodo-extensions/#comment-1564</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Fri, 13 Apr 2007 07:03:45 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.net/2007/04/12/komodo-extensions/#comment-1564</guid>
		<description>All fixxed, the code in the comment three above this one is the latest code.  I'll write a new post later about it.

The problem I was having was that the re.sub() code was matching itself, since it was operating on itself.  So, I had to re-add it back in.</description>
		<content:encoded><![CDATA[<p>All fixxed, the code in the comment three above this one is the latest code.  I&#8217;ll write a new post later about it.</p>
<p>The problem I was having was that the re.sub() code was matching itself, since it was operating on itself.  So, I had to re-add it back in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2007/04/12/komodo-extensions/#comment-1563</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Fri, 13 Apr 2007 06:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.net/2007/04/12/komodo-extensions/#comment-1563</guid>
		<description>Aha, because it's python code generating HTML from python code, it's not working on the re.sub() properly.  I'll have to hand edit that code then.</description>
		<content:encoded><![CDATA[<p>Aha, because it&#8217;s python code generating HTML from python code, it&#8217;s not working on the re.sub() properly.  I&#8217;ll have to hand edit that code then.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2007/04/12/komodo-extensions/#comment-1562</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Fri, 13 Apr 2007 06:42:17 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.net/2007/04/12/komodo-extensions/#comment-1562</guid>
		<description>Ignore the last one, there seems to be some issues with it.</description>
		<content:encoded><![CDATA[<p>Ignore the last one, there seems to be some issues with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2007/04/12/komodo-extensions/#comment-1561</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Thu, 12 Apr 2007 09:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.net/2007/04/12/komodo-extensions/#comment-1561</guid>
		<description>Further improved to clean code up a bit:

&lt;div class="code python"&gt;
&lt;span class="keywords" &gt;from&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="identifiers" &gt;komodo&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="keywords" &gt;import&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="identifiers" &gt;components&lt;/span&gt;&lt;span class="operators" &gt;,&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="identifiers" &gt;document&lt;/span&gt;&lt;span class="default" &gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="keywords" &gt;from&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="identifiers" &gt;xpcom&lt;/span&gt;&lt;span class="operators" &gt;.&lt;/span&gt;&lt;span class="identifiers" &gt;server&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="keywords" &gt;import&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="identifiers" &gt;UnwrapObject&lt;/span&gt;&lt;span class="default" &gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="keywords" &gt;import&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="identifiers" &gt;re&lt;/span&gt;&lt;span class="default" &gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span class="identifiers" &gt;buf&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="operators" &gt;=&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="identifiers" &gt;UnwrapObject&lt;/span&gt;&lt;span class="operators" &gt;(&lt;/span&gt;&lt;span class="identifiers" &gt;document&lt;/span&gt;&lt;span class="operators" &gt;.&lt;/span&gt;&lt;span class="identifiers" &gt;ciBuf&lt;/span&gt;&lt;span class="operators" &gt;)&lt;/span&gt;&lt;span class="default" &gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="identifiers" &gt;html&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="operators" &gt;=&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="identifiers" &gt;buf&lt;/span&gt;&lt;span class="operators" &gt;.&lt;/span&gt;&lt;span class="identifiers" &gt;to_html&lt;/span&gt;&lt;span class="operators" &gt;(&lt;/span&gt;&lt;span class="identifiers" &gt;False&lt;/span&gt;&lt;span class="operators" &gt;,&lt;/span&gt;&lt;span class="identifiers" &gt;False&lt;/span&gt;&lt;span class="operators" &gt;,&lt;/span&gt;&lt;span class="keywords" &gt;None&lt;/span&gt;&lt;span class="operators" &gt;,&lt;/span&gt;&lt;span class="identifiers" &gt;True&lt;/span&gt;&lt;span class="operators" &gt;,&lt;/span&gt;&lt;span class="identifiers" &gt;True&lt;/span&gt;&lt;span class="operators" &gt;)&lt;/span&gt;&lt;span class="default" &gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="identifiers" &gt;html&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="operators" &gt;=&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="identifiers" &gt;html&lt;/span&gt;&lt;span class="operators" &gt;.&lt;/span&gt;&lt;span class="identifiers" &gt;replace&lt;/span&gt;&lt;span class="operators" &gt;(&lt;/span&gt;&lt;span class="strings" &gt;&#039;onmouseover=&#34;show_class(event.target);&#34;&#039;&lt;/span&gt;&lt;span class="operators" &gt;,&lt;/span&gt;&lt;span class="strings" &gt;&#039;&#039;&lt;/span&gt;&lt;span class="operators" &gt;)&lt;/span&gt;&lt;span class="default" &gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="identifiers" &gt;html&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="operators" &gt;=&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="identifiers" &gt;html&lt;/span&gt;&lt;span class="operators" &gt;.&lt;/span&gt;&lt;span class="identifiers" &gt;replace&lt;/span&gt;&lt;span class="operators" &gt;(&lt;/span&gt;&lt;span class="strings" &gt;&#34;&#039;&#34;&lt;/span&gt;&lt;span class="operators" &gt;,&lt;/span&gt;&lt;span class="strings" &gt;&#34;&#38;#039;&#34;&lt;/span&gt;&lt;span class="operators" &gt;)&lt;/span&gt;&lt;span class="default" &gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="identifiers" &gt;html&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="operators" &gt;=&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="identifiers" &gt;re&lt;/span&gt;&lt;span class="operators" &gt;.&lt;/span&gt;&lt;span class="identifiers" &gt;sub&lt;/span&gt;&lt;span class="operators" &gt;(&lt;/span&gt;&lt;span class="strings" &gt;&#039;SCE_P_.*? &#039;&lt;/span&gt;&lt;span class="operators" &gt;,&lt;/span&gt;&lt;span class="strings" &gt;&#039;&#039;&lt;/span&gt;&lt;span class="operators" &gt;,&lt;/span&gt;&lt;span class="identifiers" &gt;html&lt;/span&gt;&lt;span class="operators" &gt;)&lt;/span&gt;&lt;span class="default" &gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span class="identifiers" &gt;ch&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="operators" &gt;=&lt;/span&gt;&lt;span class="default" &gt;&#160;&lt;/span&gt;&lt;span class="identifiers" &gt;components&lt;/span&gt;&lt;span class="operators" &gt;.&lt;/span&gt;&lt;span class="identifiers" &gt;classes&lt;/span&gt;&lt;span class="operators" &gt;[&lt;/span&gt;&lt;span class="strings" &gt;&#34;@mozilla.org/widget/clipboardhelper;1&#34;&lt;/span&gt;&lt;span class="operators" &gt;].&lt;/span&gt;&lt;span class="identifiers" &gt;getService&lt;/span&gt;&lt;span class="operators" &gt;(&lt;/span&gt;&lt;span class="identifiers" &gt;components&lt;/span&gt;&lt;span class="operators" &gt;.&lt;/span&gt;&lt;span class="identifiers" &gt;interfaces&lt;/span&gt;&lt;span class="operators" &gt;.&lt;/span&gt;&lt;span class="identifiers" &gt;nsIClipboardHelper&lt;/span&gt;&lt;span class="operators" &gt;)&lt;/span&gt;&lt;span class="default" &gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="identifiers" &gt;ch&lt;/span&gt;&lt;span class="operators" &gt;.&lt;/span&gt;&lt;span class="identifiers" &gt;copyString&lt;/span&gt;&lt;span class="operators" &gt;(&lt;/span&gt;&lt;span class="identifiers" &gt;html&lt;/span&gt;&lt;span class="operators" &gt;)&lt;/span&gt;&lt;/div&gt;

It now removes a heap of excess fluff that I don't require.
</description>
		<content:encoded><![CDATA[<p>Further improved to clean code up a bit:</p>
<div class="code python">
<span class="keywords" >from</span><span class="default" >&nbsp;</span><span class="identifiers" >komodo</span><span class="default" >&nbsp;</span><span class="keywords" >import</span><span class="default" >&nbsp;</span><span class="identifiers" >components</span><span class="operators" >,</span><span class="default" >&nbsp;</span><span class="identifiers" >document</span><span class="default" ><br />
</span><span class="keywords" >from</span><span class="default" >&nbsp;</span><span class="identifiers" >xpcom</span><span class="operators" >.</span><span class="identifiers" >server</span><span class="default" >&nbsp;</span><span class="keywords" >import</span><span class="default" >&nbsp;</span><span class="identifiers" >UnwrapObject</span><span class="default" ><br />
</span><span class="keywords" >import</span><span class="default" >&nbsp;</span><span class="identifiers" >re</span><span class="default" ></p>
<p></span><span class="identifiers" >buf</span><span class="default" >&nbsp;</span><span class="operators" >=</span><span class="default" >&nbsp;</span><span class="identifiers" >UnwrapObject</span><span class="operators" >(</span><span class="identifiers" >document</span><span class="operators" >.</span><span class="identifiers" >ciBuf</span><span class="operators" >)</span><span class="default" ><br />
</span><span class="identifiers" >html</span><span class="default" >&nbsp;</span><span class="operators" >=</span><span class="default" >&nbsp;</span><span class="identifiers" >buf</span><span class="operators" >.</span><span class="identifiers" >to_html</span><span class="operators" >(</span><span class="identifiers" >False</span><span class="operators" >,</span><span class="identifiers" >False</span><span class="operators" >,</span><span class="keywords" >None</span><span class="operators" >,</span><span class="identifiers" >True</span><span class="operators" >,</span><span class="identifiers" >True</span><span class="operators" >)</span><span class="default" ><br />
</span><span class="identifiers" >html</span><span class="default" >&nbsp;</span><span class="operators" >=</span><span class="default" >&nbsp;</span><span class="identifiers" >html</span><span class="operators" >.</span><span class="identifiers" >replace</span><span class="operators" >(</span><span class="strings" >&#039;onmouseover=&quot;show_class(event.target);&quot;&#039;</span><span class="operators" >,</span><span class="strings" >&#039;&#039;</span><span class="operators" >)</span><span class="default" ><br />
</span><span class="identifiers" >html</span><span class="default" >&nbsp;</span><span class="operators" >=</span><span class="default" >&nbsp;</span><span class="identifiers" >html</span><span class="operators" >.</span><span class="identifiers" >replace</span><span class="operators" >(</span><span class="strings" >&quot;&#039;&quot;</span><span class="operators" >,</span><span class="strings" >&quot;&amp;#039;&quot;</span><span class="operators" >)</span><span class="default" ><br />
</span><span class="identifiers" >html</span><span class="default" >&nbsp;</span><span class="operators" >=</span><span class="default" >&nbsp;</span><span class="identifiers" >re</span><span class="operators" >.</span><span class="identifiers" >sub</span><span class="operators" >(</span><span class="strings" >&#039;SCE_P_.*? &#039;</span><span class="operators" >,</span><span class="strings" >&#039;&#039;</span><span class="operators" >,</span><span class="identifiers" >html</span><span class="operators" >)</span><span class="default" ></p>
<p></span><span class="identifiers" >ch</span><span class="default" >&nbsp;</span><span class="operators" >=</span><span class="default" >&nbsp;</span><span class="identifiers" >components</span><span class="operators" >.</span><span class="identifiers" >classes</span><span class="operators" >[</span><span class="strings" >&quot;@mozilla.org/widget/clipboardhelper;1&quot;</span><span class="operators" >].</span><span class="identifiers" >getService</span><span class="operators" >(</span><span class="identifiers" >components</span><span class="operators" >.</span><span class="identifiers" >interfaces</span><span class="operators" >.</span><span class="identifiers" >nsIClipboardHelper</span><span class="operators" >)</span><span class="default" ><br />
</span><span class="identifiers" >ch</span><span class="operators" >.</span><span class="identifiers" >copyString</span><span class="operators" >(</span><span class="identifiers" >html</span><span class="operators" >)</span></div>
<p>It now removes a heap of excess fluff that I don&#8217;t require.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2007/04/12/komodo-extensions/#comment-1560</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Thu, 12 Apr 2007 07:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.net/2007/04/12/komodo-extensions/#comment-1560</guid>
		<description>Bada Bing!

&lt;div class="code python"&gt;
&lt;span class="SCE_P_WORD keywords" onmouseover="show_class(event.target);"&gt;from&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&#160;&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;komodo&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&#160;&lt;/span&gt;&lt;span class="SCE_P_WORD keywords" onmouseover="show_class(event.target);"&gt;import&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&#160;&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;components&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;,&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&#160;&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;document&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="SCE_P_WORD keywords" onmouseover="show_class(event.target);"&gt;from&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&#160;&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;xpcom&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;.&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;server&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&#160;&lt;/span&gt;&lt;span class="SCE_P_WORD keywords" onmouseover="show_class(event.target);"&gt;import&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&#160;&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;UnwrapObject&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;ch&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&#160;&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;=&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&#160;&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;components&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;.&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;classes&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;[&lt;/span&gt;&lt;span class="SCE_P_STRING strings" onmouseover="show_class(event.target);"&gt;&#34;@mozilla.org/widget/clipboardhelper;1&#34;&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;].&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;getService&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;(&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;components&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;.&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;interfaces&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;.&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;nsIClipboardHelper&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;)&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;buf&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&#160;&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;=&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&#160;&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;UnwrapObject&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;(&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;document&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;.&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;ciBuf&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;)&lt;/span&gt;&lt;span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;ch&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;.&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;copyString&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;(&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;buf&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;.&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;to_html&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;(&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;False&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;,&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;False&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;,&lt;/span&gt;&lt;span class="SCE_P_WORD keywords" onmouseover="show_class(event.target);"&gt;None&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;,&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;True&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;,&lt;/span&gt;&lt;span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);"&gt;True&lt;/span&gt;&lt;span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);"&gt;))&lt;/span&gt;&lt;/div&gt;

</description>
		<content:encoded><![CDATA[<p>Bada Bing!</p>
<div class="code python">
<span class="SCE_P_WORD keywords" onmouseover="show_class(event.target);">from</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);">&nbsp;</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">komodo</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);">&nbsp;</span><span class="SCE_P_WORD keywords" onmouseover="show_class(event.target);">import</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);">&nbsp;</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">components</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">,</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);">&nbsp;</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">document</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"><br />
</span><span class="SCE_P_WORD keywords" onmouseover="show_class(event.target);">from</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);">&nbsp;</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">xpcom</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">.</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">server</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);">&nbsp;</span><span class="SCE_P_WORD keywords" onmouseover="show_class(event.target);">import</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);">&nbsp;</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">UnwrapObject</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"></p>
<p></span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">ch</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);">&nbsp;</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">=</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);">&nbsp;</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">components</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">.</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">classes</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">[</span><span class="SCE_P_STRING strings" onmouseover="show_class(event.target);">&quot;@mozilla.org/widget/clipboardhelper;1&quot;</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">].</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">getService</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">(</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">components</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">.</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">interfaces</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">.</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">nsIClipboardHelper</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">)</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"></p>
<p></span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">buf</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);">&nbsp;</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">=</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);">&nbsp;</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">UnwrapObject</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">(</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">document</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">.</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">ciBuf</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">)</span><span class="SCE_P_DEFAULT default" onmouseover="show_class(event.target);"></p>
<p></span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">ch</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">.</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">copyString</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">(</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">buf</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">.</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">to_html</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">(</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">False</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">,</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">False</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">,</span><span class="SCE_P_WORD keywords" onmouseover="show_class(event.target);">None</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">,</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">True</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">,</span><span class="SCE_P_IDENTIFIER identifiers" onmouseover="show_class(event.target);">True</span><span class="SCE_P_OPERATOR operators" onmouseover="show_class(event.target);">))</span></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2007/04/12/komodo-extensions/#comment-1559</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Thu, 12 Apr 2007 06:40:48 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.net/2007/04/12/komodo-extensions/#comment-1559</guid>
		<description>Hmm.  Seems to be some sort of an infinite loop, but I can't figure out why.</description>
		<content:encoded><![CDATA[<p>Hmm.  Seems to be some sort of an infinite loop, but I can&#8217;t figure out why.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2007/04/12/komodo-extensions/#comment-1558</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Thu, 12 Apr 2007 06:09:43 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.net/2007/04/12/komodo-extensions/#comment-1558</guid>
		<description>Further on to HTML styling:

&lt;pre&gt;from komodo import components, document
from xpcom.server import UnwrapObject

ch = components.classes[&#34;@mozilla.org/widget/clipboardhelper;1&#34;].getService(components.interfaces.nsIClipboardHelper)

html_data = UnwrapObject(document.ciBuf).to_html()&lt;/pre&gt;

This should work, however at the moment it causes a freeze.  Still hacking away, however.</description>
		<content:encoded><![CDATA[<p>Further on to HTML styling:</p>
<pre>from komodo import components, document
from xpcom.server import UnwrapObject

ch = components.classes[&quot;@mozilla.org/widget/clipboardhelper;1&quot;].getService(components.interfaces.nsIClipboardHelper)

html_data = UnwrapObject(document.ciBuf).to_html()</pre>
<p>This should work, however at the moment it causes a freeze.  Still hacking away, however.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2007/04/12/komodo-extensions/#comment-1557</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Thu, 12 Apr 2007 04:49:55 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.net/2007/04/12/komodo-extensions/#comment-1557</guid>
		<description>Well, styled HTML source, showing Syntax Highlighting is simple.  Create a new macro, make it use Python, and:

&lt;code&gt;import komodo
komodo.view.setFocus()
komodo.doCommand("cmd_exportHTML")&lt;/code&gt;

or 

&lt;code&gt;import komodo
komodo.view.setFocus()
komodo.doCommand("cmd_exportHTMLSelection")&lt;/code&gt;

It's defaults are a bit ordinary, but I'm still working on tweaking it.  I generally don't want it to be saved, but that might do for now.</description>
		<content:encoded><![CDATA[<p>Well, styled HTML source, showing Syntax Highlighting is simple.  Create a new macro, make it use Python, and:</p>
<p><code>import komodo<br />
komodo.view.setFocus()<br />
komodo.doCommand("cmd_exportHTML")</code></p>
<p>or </p>
<p><code>import komodo<br />
komodo.view.setFocus()<br />
komodo.doCommand("cmd_exportHTMLSelection")</code></p>
<p>It&#8217;s defaults are a bit ordinary, but I&#8217;m still working on tweaking it.  I generally don&#8217;t want it to be saved, but that might do for now.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
