<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>indiWiz.com &#187; jedit</title>
	<atom:link href="http://indiwiz.com/tag/jedit/feed/" rel="self" type="application/rss+xml" />
	<link>http://indiwiz.com</link>
	<description>Subhash&#039;s Tech Log</description>
	<lastBuildDate>Sun, 29 Apr 2012 15:11:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>JEdit Macro for XML/HTML Special Character Conversion</title>
		<link>http://indiwiz.com/2008/12/31/jedit-macro-for-xml-special-character-conversion/</link>
		<comments>http://indiwiz.com/2008/12/31/jedit-macro-for-xml-special-character-conversion/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 08:33:26 +0000</pubDate>
		<dc:creator>Subhash Chandran</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[jedit]]></category>

		<guid isPermaLink="false">http://indiwiz.com/?p=126</guid>
		<description><![CDATA[One of the common requirement I face often when posting text to blog/forum/Wiki etc. is character conversion: &#38; &#38;amp; &#60; &#38;lt; &#62; &#38;gt; &#34; &#38;quot; &apos; &#38;apos; I developed a small JEdit Macro for doing this. This macro can be executed from JEdit menu Macros &#62; Run Other Macro..., or can be installed by copying [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>One of the common requirement I face often when posting text to blog/forum/Wiki etc. is character conversion:</p>
<table border="0" cellspacing="5">
<tr>
<td>&amp;</td>
<td><tt>&amp;amp;</tt></td>
</tr>
<tr>
<td>&lt;</td>
<td><tt>&amp;lt;</tt></td>
</tr>
<tr>
<td>&gt;</td>
<td><tt>&amp;gt;</tt></td>
</tr>
<tr>
<td>&quot;</td>
<td><tt>&amp;quot;</tt></td>
</tr>
<tr>
<td>&apos;</td>
<td><tt>&amp;apos;</tt></td>
</tr>
</table>
<p>I developed a small <a href="http://code.google.com/p/wiztools/source/browse/jedit-macros/trunk/encodeForXML.bsh">JEdit Macro</a> for doing this. This macro can be executed from JEdit menu <tt>Macros &gt; Run Other Macro...</tt>, or can be installed by copying to: <tt>${user.home}/.jedit/macros/</tt> (later executed from the menu <tt>Macros</tt>). This macro operates on selected text.</p>
<div class="shr-publisher-126"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://indiwiz.com/2008/12/31/jedit-macro-for-xml-special-character-conversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JEdit, powerful search and replace using BeanShell</title>
		<link>http://indiwiz.com/2008/12/17/jedit-powerful-search-and-replace-using-beanshell/</link>
		<comments>http://indiwiz.com/2008/12/17/jedit-powerful-search-and-replace-using-beanshell/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 08:57:12 +0000</pubDate>
		<dc:creator>Subhash Chandran</dc:creator>
				<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[jedit]]></category>

		<guid isPermaLink="false">http://indiwiz.com/?p=95</guid>
		<description><![CDATA[JEdit is my favorite text editor. And today I was pleased to find some powerful scripting capability in its search and replace functionality. Basically I wanted to enclose a RegularExpression pattern with: &#60;a href=""&#62;PATTERN&#60;/a&#62; The Search and Replace dialog provided an option Return value of a BeanShell snippet. So whatever RegularExpression pattern grouping I provided, [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p><a href="http://www.jedit.org/">JEdit</a> is my favorite text editor. And today I was pleased to find some powerful scripting capability in its <a href="http://www.jedit.org/users-guide/search-replace.html">search and replace functionality</a>. Basically I wanted to enclose a RegularExpression pattern with:</p>
<pre>
&lt;a href=""&gt;PATTERN&lt;/a&gt;
</pre>
<p>The Search and Replace dialog provided an option <i>Return value of a BeanShell snippet</i>. So whatever RegularExpression pattern grouping I provided, I was able to access them using the BeanShell variable <i>_1</i> to <i>_9</i>. So my final replace statement became:</p>
<pre>
"&lt;a href\"\"&gt;" + _1 + "&lt;/a&gt;"
</pre>
<p>Cool solution to a simple problem.</p>
<p><img src="http://indiwiz.files.wordpress.com/2008/12/jedit_search_replace.png" alt="jedit_search_replace" title="jedit_search_replace" width="505" height="449" class="alignnone size-full wp-image-99" /></p>
<div class="shr-publisher-95"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://indiwiz.com/2008/12/17/jedit-powerful-search-and-replace-using-beanshell/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

