<?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>Fifesoft Blog</title>
	<atom:link href="http://fifesoft.com/blog/?feed=rss2&#038;p=474" rel="self" type="application/rss+xml" />
	<link>http://fifesoft.com/blog</link>
	<description>Another boring blog about software</description>
	<lastBuildDate>Mon, 10 Jun 2013 03:33:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>RSyntaxTextArea &#8211; Plans for Next Release</title>
		<link>http://fifesoft.com/blog/?p=767</link>
		<comments>http://fifesoft.com/blog/?p=767#comments</comments>
		<pubDate>Mon, 10 Jun 2013 03:33:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AutoComplete]]></category>
		<category><![CDATA[Code Folding]]></category>
		<category><![CDATA[RSyntaxTextArea]]></category>

		<guid isPermaLink="false">http://fifesoft.com/blog/?p=767</guid>
		<description><![CDATA[Because I haven&#8217;t had much time to work on RSTA lately, I&#8217;ve been thinking about making a list of work items in an attempt to get motivated.  So here&#8217;s what&#8217;s on the list so far for the next RSTA release: Performance improvements, particularly for word wrap with very long lines.  This has been asked for [...]]]></description>
				<content:encoded><![CDATA[<p>Because I haven&#8217;t had much time to work on RSTA lately, I&#8217;ve been thinking about making a list of work items in an attempt to get motivated.  So here&#8217;s what&#8217;s on the list so far for the next RSTA release:</p>
<ul>
<li>Performance improvements, particularly for word wrap with very long lines.  This has been asked for a couple of times in <a href="http://fifesoft.com/forum">the forums</a>.  I&#8217;ve done some work, that will be available in the next SVN commit, that will improve performance to some degree.  One of RSTA&#8217;s primary issues here is that modelToView()/viewToModel() calculations are relatively expensive, and for very long word-wrapped lines, they are called literally dozens of times whenever text is inserted or the window is resized.  As a first pass, I&#8217;m refactoring things a bit so that the data used by these method calls is cached much more aggressively; this seems to improve things quite nicely.  Moving forward, I might also try to minimize the number of calls to these methods in general, though that will be a more difficult task.  There were also some performance improvements made to WrappedLineView.java in the JDK, around the Java 5 timeframe, that RSTA may be able to learn from/graciously borrow.</li>
<li>Syntax highlighting for <a href="http://www.r-project.org/">R</a>.</li>
<li>Syntax highlighting for <a href="http://en.wikipedia.org/wiki/Htaccess">.htaccess files</a>.</li>
<li>API in <a href="http://fifesoft.com/autocomplete/">AutoComplete libarary</a> to specify the expected type of arguments in a parameterized completion.</li>
</ul>
<p>Any other suggestions?</p>
]]></content:encoded>
			<wfw:commentRss>http://fifesoft.com/blog/?feed=rss2&#038;p=767</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSyntaxTextArea Developer Documentation Started</title>
		<link>http://fifesoft.com/blog/?p=748</link>
		<comments>http://fifesoft.com/blog/?p=748#comments</comments>
		<pubDate>Thu, 09 May 2013 03:44:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RSyntaxTextArea]]></category>

		<guid isPermaLink="false">http://fifesoft.com/blog/?p=748</guid>
		<description><![CDATA[Have you ever been interested in integrating syntax highlighting for your own, custom language into RSyntaxTextArea?  Now there&#8217;s finally a guide to help you do just that! http://fifesoft.com/rsyntaxtextarea/doc/ This &#8220;developers documentation&#8221; section describes in detail how syntax highlighting is implemented in RSTA, and multiple ways that you can add your own.  In the future, it&#8217;ll [...]]]></description>
				<content:encoded><![CDATA[<p>Have you ever been interested in integrating syntax highlighting for your own, custom language into RSyntaxTextArea?  Now there&#8217;s finally a guide to help you do just that!</p>
<p><a href="http://fifesoft.com/rsyntaxtextarea/doc/">http://fifesoft.com/rsyntaxtextarea/doc/</a></p>
<p>This &#8220;developers documentation&#8221; section describes in detail how syntax highlighting is implemented in RSTA, and multiple ways that you can add your own.  In the future, it&#8217;ll have similar documentation on adding code folding, code folding, and squiggle-underline parsing.</p>
<p>Feedback is welcome!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://fifesoft.com/blog/?feed=rss2&#038;p=748</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RText 2.0.7 Released</title>
		<link>http://fifesoft.com/blog/?p=745</link>
		<comments>http://fifesoft.com/blog/?p=745#comments</comments>
		<pubDate>Wed, 08 May 2013 02:29:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RText]]></category>

		<guid isPermaLink="false">http://fifesoft.com/blog/?p=745</guid>
		<description><![CDATA[RText 2.0.7 was released last weekend on SourceForge!  Here&#8217;s a list of what changed: Pretty-printing now works for JSON in addition to XML and HTML. The system console plugin now auto-completes file names on pressing tab. HTML, PHP, and JSP have new option, &#8220;Automatically add closing tags for HTML tags that require them,&#8221; as well as [...]]]></description>
				<content:encoded><![CDATA[<p>RText 2.0.7 was released last weekend <a href="https://sourceforge.net/projects/rtext/">on SourceForge</a>!  Here&#8217;s a list of what changed:</p>
<ol>
<li><a href="http://fifesoft.com/blog/?p=689">Pretty-printing now works for JSON</a> in addition to XML and HTML.</li>
<li>The system console plugin now auto-completes file names on pressing tab.</li>
<li>HTML, PHP, and JSP have new option, &#8220;Automatically add closing tags for HTML tags that require them,&#8221; as well as <a href="http://fifesoft.com/blog/?p=709">enhanced syntax highlighting</a>.</li>
<li>The text editor now includes an option to use the system selection colors for selected text and its background.</li>
<li>The file chooser and File System Tree plugin now include &#8220;Paste&#8221; option to copy/paste file lists.</li>
<li>Added <a href="http://fifesoft.com/blog/?p=715">Visual Basic syntax highlighting</a>.</li>
<li>Various code editor <a href="http://fifesoft.com/blog/?p=735">fixes and performance improvements</a>.</li>
</ol>
<p>Happy coding!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://fifesoft.com/blog/?feed=rss2&#038;p=745</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSyntaxTextArea 2.0.7 Released</title>
		<link>http://fifesoft.com/blog/?p=735</link>
		<comments>http://fifesoft.com/blog/?p=735#comments</comments>
		<pubDate>Sun, 28 Apr 2013 16:14:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AutoComplete]]></category>
		<category><![CDATA[RSTALanguageSupport]]></category>
		<category><![CDATA[RSyntaxTextArea]]></category>

		<guid isPermaLink="false">http://fifesoft.com/blog/?p=735</guid>
		<description><![CDATA[RSyntaxTextArea 2.0.7 was just released on SourceForge!  Here&#8217;s a list of the cool new stuff: setBracketMatchingEnabled(boolean) now checks for brackets &#8220;to the right&#8221; of the caret if one is not found &#8220;to the left.&#8221; Added API for applications to create custom hyperlinks in RSyntaxTextArea, though this API should not be considered stable. Added &#8220;mark occurrences&#8221; [...]]]></description>
				<content:encoded><![CDATA[<p>RSyntaxTextArea 2.0.7 was just <a href="https://sourceforge.net/projects/rsyntaxtextarea/">released on SourceForge</a>!  Here&#8217;s a list of the cool new stuff:</p>
<ul>
<li>setBracketMatchingEnabled(boolean) now checks for brackets &#8220;to the right&#8221; of the caret if one is not found &#8220;to the left.&#8221;</li>
<li>Added API for applications to create custom hyperlinks in RSyntaxTextArea, though this API should not be considered stable.</li>
<li>Added &#8220;mark occurrences&#8221; support for XML. Currently just highlights the tag name at the current caret position and its match.</li>
<li>Fixed issue when auto-inserting spaces for tabs.</li>
<li>Major refactoring of rendering code.</li>
<li><a href="http://fifesoft.com/blog/?p=709">&#8220;Traditional&#8221; selection rendering</a> is now supported; that is, selected text can now be rendered as syntax highlighted tokens with a &#8220;selection&#8221; background (as it was previously), or as text as a single color with the &#8220;selection&#8221; background (as standard text components do). See RSyntaxTextArea.setUseSelectedTextColor(boolean).</li>
<li>Fixed performance issue in FoldingAwareIconRowHeader when it paints &#8220;active regions.&#8221;</li>
<li>Added some <a href="http://fifesoft.com/blog/?p=709">new token types</a> to better differentiate markup tokens from &#8220;regular&#8221; language tokens. This allows for better syntax highlighting for stuff like HTML, JSP, and PHP.</li>
<li>JavaScript highlighting now highlights JSDoc.</li>
<li>Added <a href="http://fifesoft.com/blog/?p=715">Visual Basic syntax highlighting</a>.</li>
<li>In RSTAUI, a new <a href="http://svn.fifesoft.com/viewvc-1.0.5/bin/cgi/viewvc.cgi/RSTAUI/trunk/src/org/fife/rsta/ui/TextFilePropertiesDialog.java?view=markup&amp;revision=782&amp;root=RSyntaxTextArea">TextFilePropertiesDialog</a> was added.  This dialog shows the currently edited text file&#8217;s path, size, word count, encoding, line terminator, and more.  Further, when using a TextEditorPane, you can modify the file&#8217;s encoding or line terminator directly from the dialog.</li>
<li><a href="http://fifesoft.com/blog/?cat=9">RSTALanguageSupport</a>: Miscellaneous JavaScript code completion improvements (thanks Steve).</li>
<li>RSTALanguageSupport: JavaScript code now syntax highlights JSDoc.</li>
<li>RSTALanguageSupport: JavaScript code completion now offers suggestions for JSDoc when in documentation comments.</li>
<li>RSTALanguageSupport: HTML, PHP, JSP and XML now have an option to automatically add closing tags when opening tags are typed (e.g. add &#8220;&lt;/foo&gt;&#8221; when &#8220;&lt;foo&gt;&#8221; is typed). By default this option is enabled. HTML, PHP and JSP only auto-close tags closeable in the HTML 5 spec; XML closes all tags. This option is separate from the XML &#8220;auto-complete closing tag name when &#8216;&lt;/&#8217; is typed&#8221; option.</li>
</ul>
<p>Below are a couple of screenshots showing off the new JSDoc syntax highlighting and code completion.  The first one shows auto-completion kicking in after typing &#8220;@&#8221; in a documentation comment.  The second screenshot shows the parameterized assistance you get for &#8220;@param&#8221;:</p>
<div id="attachment_738" class="wp-caption aligncenter" style="width: 310px"><a href="http://fifesoft.com/blog/wp-content/uploads/2013/04/jsdoc_completion_1.png"><img class="size-medium wp-image-738" alt="JSDoc Code Completion" src="http://fifesoft.com/blog/wp-content/uploads/2013/04/jsdoc_completion_1-300x161.png" width="300" height="161" /></a><p class="wp-caption-text">JSDoc Code Completion</p></div>
<div id="attachment_739" class="wp-caption aligncenter" style="width: 310px"><a href="http://fifesoft.com/blog/wp-content/uploads/2013/04/jsdoc_completion_2.png"><img class="size-medium wp-image-739" title="JSDoc Parameterized Completion in action" alt="JSDoc Parameterized Completion in action" src="http://fifesoft.com/blog/wp-content/uploads/2013/04/jsdoc_completion_2-300x222.png" width="300" height="222" /></a><p class="wp-caption-text">JSDoc Parameterized Completion in action</p></div>
<p>Go check it out!</p>
]]></content:encoded>
			<wfw:commentRss>http://fifesoft.com/blog/?feed=rss2&#038;p=735</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Basic Syntax Highlighting</title>
		<link>http://fifesoft.com/blog/?p=715</link>
		<comments>http://fifesoft.com/blog/?p=715#comments</comments>
		<pubDate>Mon, 01 Apr 2013 03:28:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RSyntaxTextArea]]></category>

		<guid isPermaLink="false">http://fifesoft.com/blog/?p=715</guid>
		<description><![CDATA[Syntax highlighting for Visual Basic was just added into SVN.  I probably won&#8217;t bother with code folding support for VB any time soon, since I don&#8217;t ever write code in it, but if you&#8217;re itching to contribute, I&#8217;m always willing to take patches!]]></description>
				<content:encoded><![CDATA[<p>Syntax highlighting for Visual Basic was just added into <a href="http://svn.fifesoft.com/svn/RSyntaxTextArea/">SVN</a>.  I probably won&#8217;t bother with code folding support for VB any time soon, since I don&#8217;t ever write code in it, but if you&#8217;re itching to contribute, I&#8217;m always willing to take patches!</p>
<div id="attachment_716" class="wp-caption aligncenter" style="width: 310px"><a href="http://fifesoft.com/blog/wp-content/uploads/2013/03/vb_highlighting.png"><img class="size-medium wp-image-716" alt="Visual Basic Highlighting" src="http://fifesoft.com/blog/wp-content/uploads/2013/03/vb_highlighting-300x244.png" width="300" height="244" /></a><p class="wp-caption-text">Visual Basic Highlighting</p></div>
]]></content:encoded>
			<wfw:commentRss>http://fifesoft.com/blog/?feed=rss2&#038;p=715</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improved Syntax Highlighting and Theming Support</title>
		<link>http://fifesoft.com/blog/?p=709</link>
		<comments>http://fifesoft.com/blog/?p=709#comments</comments>
		<pubDate>Sat, 23 Mar 2013 21:44:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RSyntaxTextArea]]></category>

		<guid isPermaLink="false">http://fifesoft.com/blog/?p=709</guid>
		<description><![CDATA[If you grab the latest from SVN, RSyntaxTextArea has improved theming support.  First, RSTA supports the following new token styles: Markup language comments (i.e. &#8220;&#60;!&#8211; &#8230; &#8211;&#62;&#8221;) DTDs CDATA delimiters, separate from the CDATA content itself (e.g. &#8220;&#60;![CDATA[" and "]]&#62;&#8221;) Entity references Note that all of these are related to markup languages, such as XML, [...]]]></description>
				<content:encoded><![CDATA[<p>If you grab the latest from SVN, RSyntaxTextArea has improved <a href="http://fifesoft.com/blog/?p=457">theming support</a>.  First, RSTA supports the following new token styles:</p>
<ul>
<li><span style="line-height: 13px;">Markup language comments (i.e. &#8220;&lt;!&#8211; &#8230; &#8211;&gt;&#8221;)</span></li>
<li>DTDs</li>
<li>CDATA delimiters, separate from the CDATA content itself (e.g. &#8220;&lt;![CDATA[" and "]]&gt;&#8221;)</li>
<li>Entity references</li>
</ul>
<p>Note that all of these are related to markup languages, such as XML, HTML, JSP and PHP.  Previously, the lexers for each of these languages identified and colorized all of these constructs, but re-used token styles for <em>other</em> token types when rendering them.  For example, entity references were previously rendered using the &#8220;variable&#8221; token style.  This wasn&#8217;t optimal, as it meant that theme designers had to be aware of this token-style re-use when creating custom Themes, if they wanted their Themes to be as pretty as possible.  Not so any longer!</p>
<p>Another new feature is that RSyntaxTextArea now supports the standard editor behavior of selected text using a different font color than unselected text.  Previously, selected text always still rendered using the proper syntax highlighting styles.  Now, this is configurable via the setUseSelectedTextColor(boolean)/getUseSelectedTextColor() API.  Theme XML can also specify how a theme wants this property set.  Below is a screenshot that compare the &#8220;dark&#8221; default theme, which has this property set to false, and the &#8220;eclipse&#8221; default theme, which has this property set to true:</p>
<div id="attachment_710" class="wp-caption aligncenter" style="width: 310px"><a href="http://fifesoft.com/blog/wp-content/uploads/2013/03/new_selection_api.png"><img class="size-medium wp-image-710" alt="Selected Text Rendering" src="http://fifesoft.com/blog/wp-content/uploads/2013/03/new_selection_api-300x123.png" width="300" height="123" /></a><p class="wp-caption-text">Selected Text Rendering</p></div>
<p>Themes can also now use a special value &#8220;default&#8221; for selection foreground and background colors, which means &#8220;use the LookAndFeel&#8217;s (not system&#8217;s!) default for these values).  Check out the <a href="http://svn.fifesoft.com/viewvc-1.0.5/bin/cgi/viewvc.cgi/RSyntaxTextArea/trunk/src/theme.dtd?view=markup&amp;revision=770&amp;root=RSyntaxTextArea">theme DTD</a> for specifics.</p>
<p>These changes do unfortunately mean that themes created for older RSyntaxTextArea versions will no longer work with (the upcoming) 2.0.7+, as they will not pass validation against the DTD.  They can be easily updated however, so I don&#8217;t see this as much of an issue.</p>
<p>Finally, all of the <a href="http://svn.fifesoft.com/viewvc-1.0.5/bin/cgi/viewvc.cgi/RSyntaxTextArea/trunk/themes/?root=RSyntaxTextArea">sample themes</a> have been updated to use the new features above.  Also, a new sample theme was added to the mix:  <a href="http://svn.fifesoft.com/viewvc-1.0.5/bin/cgi/viewvc.cgi/RSyntaxTextArea/trunk/themes/idea.xml?revision=774&amp;root=RSyntaxTextArea">idea</a>!  Thanks to <a href="http://weblookandfeel.com/">Mikle Garin</a> for this theme.  This is  obviously based off of <a href="http://www.jetbrains.com/idea/index.html">IntelliJ IDEA</a>&#8216;s default theme.</p>
<div id="attachment_711" class="wp-caption aligncenter" style="width: 310px"><a href="http://fifesoft.com/blog/wp-content/uploads/2013/03/idea_theme.png"><img class="size-medium wp-image-711" alt="IDEA Theme" src="http://fifesoft.com/blog/wp-content/uploads/2013/03/idea_theme-300x250.png" width="300" height="250" /></a><p class="wp-caption-text">IDEA Theme</p></div>
<p>Who knows, maybe a theme based off of its new Darcula will show up next.</p>
]]></content:encoded>
			<wfw:commentRss>http://fifesoft.com/blog/?feed=rss2&#038;p=709</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JSON Pretty-Printing</title>
		<link>http://fifesoft.com/blog/?p=689</link>
		<comments>http://fifesoft.com/blog/?p=689#comments</comments>
		<pubDate>Mon, 25 Feb 2013 04:15:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RText]]></category>

		<guid isPermaLink="false">http://fifesoft.com/blog/?p=689</guid>
		<description><![CDATA[If you do any work with JSON, you may well run into scenarios where you&#8217;re looking at some data for debugging purposes, but can&#8217;t make heads or tails of it because it&#8217;s either all on one line, not indented, or otherwise simply poorly formatted.  With the upcoming RText 2.0.7 release, this will no longer be [...]]]></description>
				<content:encoded><![CDATA[<p>If you do any work with <a href="http://json.org/">JSON</a>, you may well run into scenarios where you&#8217;re looking at some data for debugging purposes, but can&#8217;t make heads or tails of it because it&#8217;s either all on one line, not indented, or otherwise simply poorly formatted.  With the upcoming RText 2.0.7 release, this will no longer be a problem.  Its &#8220;Tidy&#8221; plugin (now being rebranded to &#8220;Pretty Printing&#8221;, since it&#8217;s a more general term) is gaining JSON pretty-printing support, powered by the <a href="http://code.google.com/p/jsonbeans/">jsonbeans</a> library.</p>
<p>You&#8217;ll be able to control the indentation style (either tabs, or some number of spaces), as well as the actual format of the output.  The format choices are:</p>
<ul>
<li><strong>JSON</strong>:  Strict adherence to the JSON standard, keys wrapped in double quotes.</li>
<li><strong>JavaScript</strong>:  Formatting appropriate for a JavaScript object &#8211; quotes around appropriate values, but not around keys.</li>
<li><strong>Minimal</strong>:  No double quotes around anything.  Useful if you want the data in as simple of a format as possible, even if it isn&#8217;t technically valid.</li>
</ul>
<p>Simply set up your formatting preferences in the <strong>Pretty Printing</strong> Options dialog panel:</p>
<div id="attachment_691" class="wp-caption aligncenter" style="width: 310px"><a href="http://fifesoft.com/blog/wp-content/uploads/2013/02/json_formatting_options.png"><img class="size-medium wp-image-691" alt="JSON Formatting Options" src="http://fifesoft.com/blog/wp-content/uploads/2013/02/json_formatting_options-300x226.png" width="300" height="226" /></a><p class="wp-caption-text">JSON Formatting Options</p></div>
<p>And when editing JSON, simply select <strong>Edit -&gt; Pretty Printing</strong>.  Simple as that.  Don&#8217;t forget that a shortcut can be assigned to this menu item via the &#8220;Shortcuts&#8221; panel in the Options dialog if you use it frequently.</p>
]]></content:encoded>
			<wfw:commentRss>http://fifesoft.com/blog/?feed=rss2&#038;p=689</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RText 2.0.6 Released</title>
		<link>http://fifesoft.com/blog/?p=653</link>
		<comments>http://fifesoft.com/blog/?p=653#comments</comments>
		<pubDate>Sun, 27 Jan 2013 04:04:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RText]]></category>

		<guid isPermaLink="false">http://fifesoft.com/blog/?p=653</guid>
		<description><![CDATA[RText 2.0.6 was just released!  Here&#8217;s a rundown of the major changes: Syntax highlighting and code folding for JSON.  Folks doing a lot of work with web applications will appreciate this. Improvements to the UI when a Substance Look and Feel is installed.  All trees and lists now use Substance&#8217;s striping and rollover effects, and [...]]]></description>
				<content:encoded><![CDATA[<p>RText 2.0.6 was <a href="https://sourceforge.net/projects/rtext/">just released</a>!  Here&#8217;s a rundown of the major changes:</p>
<p><strong>Syntax highlighting and code folding for JSON.</strong>  Folks doing a lot of work with web applications will appreciate this.</p>
<div id="attachment_654" class="wp-caption aligncenter" style="width: 310px"><a href="http://fifesoft.com/blog/wp-content/uploads/2013/01/json_support_in_rtext.png"><img class="size-medium wp-image-654" alt="JSON Support in RText" src="http://fifesoft.com/blog/wp-content/uploads/2013/01/json_support_in_rtext-300x237.png" width="300" height="237" /></a><p class="wp-caption-text">JSON Support in RText</p></div>
<p><strong>Improvements to the UI when a Substance Look and Feel is installed.</strong>  All trees and lists now use Substance&#8217;s striping and rollover effects, and colors used in miscellaneous custom components were tweaked to better fit in with the current Substance skin.</p>
<div id="attachment_635" class="wp-caption aligncenter" style="width: 310px"><a href="http://fifesoft.com/blog/wp-content/uploads/2013/01/substance_in_autocomplete_popups.png"><img class="size-medium wp-image-635" alt="Substance in AutoComplete Popups" src="http://fifesoft.com/blog/wp-content/uploads/2013/01/substance_in_autocomplete_popups-300x224.png" width="300" height="224" /></a><p class="wp-caption-text">Substance in AutoComplete Popups</p></div>
<p>Fixed a <strong>ClassCastException when adding a JRE in the Java options panel</strong>.  This was bug <a href="https://sourceforge.net/tracker/?func=detail&amp;aid=3600567&amp;group_id=95266&amp;atid=610804">3600567</a>, and was accidentally introduced with the last refactoring of the Java language support.</p>
<p>Updated the <strong>Turkish and French localizations</strong>.  Thanks to Burak and Pat!</p>
<p>A major side effect of the improved Substance support is that compilation is now done in two phases.  RText has always only required Java 1.4, but Substance requires Java 6 or newer (we&#8217;re actually shipping with <a href="https://github.com/Insubstantial/insubstantial">Insubstantial</a>, which is an active fork of Substance, since the original author stopped working on it).  To get around this, all of the &#8220;core&#8221; RText classes are built with Java 1.4, and all of the classes requiring Substance are built with Java 6; these classes are only referenced from the application via reflection to avoid a hard dependency.  If Java 1.4 or Java 5 is detected, RText will never load anything Substance related.</p>
<p>When will RText drop support for 1.4?  Probably not for awhile, especially when I can easily use functionality in newer versions easily enough via reflection as I&#8217;m currently doing (and only then for Substance, opening a browser/system editors for files, and for the scripting API).  And performance improvements are received via simply running in a newer JVM, not from compiling with one.  Perhaps when Java 8 GA is released this September, it might be time to consider moving to Java 5.  :)</p>
<p>Anyway, the list of new features going into the next release is already growing!  More on that soon.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://fifesoft.com/blog/?feed=rss2&#038;p=653</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSyntaxTextArea 2.0.6 Released</title>
		<link>http://fifesoft.com/blog/?p=631</link>
		<comments>http://fifesoft.com/blog/?p=631#comments</comments>
		<pubDate>Thu, 24 Jan 2013 03:44:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AutoComplete]]></category>
		<category><![CDATA[RSyntaxTextArea]]></category>

		<guid isPermaLink="false">http://fifesoft.com/blog/?p=631</guid>
		<description><![CDATA[RSyntaxTextArea 2.0.6 was just released on SourceForge!  Included are new versions of AutoComplete, RSTALanguageSupport, and SpellChecker. RSTA now provides syntax highlighting and code folding for JSON: Further, the AutoComplete and RSTALanguageSupport libraries now look good in Substance (in particular, Insubstantial).  Previously, these libraries used DefaultListCellRenderer for their completion choices.  Substance, being the barrel of fun [...]]]></description>
				<content:encoded><![CDATA[<p>RSyntaxTextArea 2.0.6 was just released on SourceForge!  Included are new versions of AutoComplete, RSTALanguageSupport, and SpellChecker.</p>
<p>RSTA now provides syntax highlighting and code folding for <a href="http://json.org/">JSON</a>:</p>
<div id="attachment_634" class="wp-caption aligncenter" style="width: 310px"><a href="http://fifesoft.com/blog/?attachment_id=634" rel="attachment wp-att-634"><img class="size-medium wp-image-634" alt="JSON Support" src="http://fifesoft.com/blog/wp-content/uploads/2013/01/json_support-300x251.png" width="300" height="251" /></a><p class="wp-caption-text">JSON highlighting and code folding in RSTA</p></div>
<p>Further, the AutoComplete and RSTALanguageSupport libraries now look good in Substance (in particular, <a href="https://github.com/Insubstantial/insubstantial">Insubstantial</a>).  Previously, these libraries used DefaultListCellRenderer for their completion choices.  Substance, being the barrel of fun that it is, forces libraries to extend its own DefaultSubstanceListCellRenderer, otherwise they aren&#8217;t rendered with Substance&#8217;s striping, gradients and rollover effects.  Now, RSTA and its cousins detect when Substance is the current Look and Feel, and render with a DefaultSubstanceListCellRenderer when necessary.  Easy peasy!</p>
<p>&nbsp;</p>
<div id="attachment_635" class="wp-caption aligncenter" style="width: 310px"><a href="http://fifesoft.com/blog/?attachment_id=635" rel="attachment wp-att-635"><img class="size-medium wp-image-635" alt="Substance in AutoComplete Popups" src="http://fifesoft.com/blog/wp-content/uploads/2013/01/substance_in_autocomplete_popups-300x224.png" width="300" height="224" /></a><p class="wp-caption-text">Substance in AutoComplete Popups</p></div>
<p>(Pardon the fact that I didn&#8217;t update the editor color scheme to be dark as well!).  This is done via reflection, so there is still no build dependency on Substance.  This of course assumes that the DefaultSubstanceListCellRenderer class name and package don&#8217;t change in future releases of Insubstantial, but I highly doubt that&#8217;ll happen, considering it&#8217;s a maintenance fork of the original Substance.  And if something goes horribly wrong, the library should fall back into its default rendering path anyway.</p>
<p>The outline trees (JavaOutlineTree, XmlOutlineTree, etc.) still use DefaultTreeCellRenderer, but applications can use the same technique here &#8211; wrap the standard renderers for these components with SubstanceDefaultTreeCellRenderer, call delegate.getTreeCellRendererComponent(), then set the Substance renderer&#8217;s icon and text based on the delegate&#8217;s values.  Come to think of it, I&#8217;m not sure why I didn&#8217;t have the libraries automatically delegate like I did with the completion choices lists&#8230; maybe next release.  One thing you do lose from this delegation is the rollover effect &#8211; the render &#8220;looks&#8221; the same, but the animated rollover effect depends on the actual renderer being a DefaultSubstance*Renderer.  Since we&#8217;re only *delegating* to one, we&#8217;ll look like it, but won&#8217;t get the rollover effect.</p>
]]></content:encoded>
			<wfw:commentRss>http://fifesoft.com/blog/?feed=rss2&#038;p=631</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RText 2.0.5.1 Released</title>
		<link>http://fifesoft.com/blog/?p=628</link>
		<comments>http://fifesoft.com/blog/?p=628#comments</comments>
		<pubDate>Mon, 24 Dec 2012 19:23:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RText]]></category>

		<guid isPermaLink="false">http://fifesoft.com/blog/?p=628</guid>
		<description><![CDATA[RText 2.0.5.1 was released earlier this week on SourceForge.  This was a minor release (no real new features) that will nevertheless be a very important update for some users.  Here&#8217;s what was new: Updated to RSyntaxTextArea 2.0.5.1, which fixes a keyboard issue with non-QWERTY keyboards. Several Substance skins are now available as LookAndFeels. Thanks to [...]]]></description>
				<content:encoded><![CDATA[<p>RText 2.0.5.1 was released earlier this week <a href="https://sourceforge.net/projects/rtext/">on SourceForge</a>.  This was a minor release (no real new features) that will nevertheless be a very important update for some users.  Here&#8217;s what was new:</p>
<ol>
<li>Updated to RSyntaxTextArea 2.0.5.1, which fixes a keyboard issue with non-QWERTY keyboards.</li>
<li>Several Substance skins are now available as LookAndFeels. Thanks to the Insubstantial project (<a href="https://github.com/Insubstantial/insubstantial" target="_new">https://github.com/Insubstantial/insubstantial</a>). These Look and Feels are only available when running RText with Java 6 or newer.</li>
<li>Updated the Spanish (Leonardo) and Arabic (Mawaheb) translations.</li>
</ol>
<p>Basically, this release was just to have an RText that fixed the keyboard issue introduced with RSTA 2.0.5.  Including Insubstantial (i.e. Substance) was just a bonus.  Only very recently had a couple of important issues <a href="https://github.com/Insubstantial/insubstantial/issues/99">been</a> <a href="https://github.com/Insubstantial/insubstantial/issues/100">fixed</a> that made it usable in a project such as RText.  I&#8217;m hesitant to ship Substance with any project, since in my (albeit limited) experience it&#8217;s been very touchy (stuff like breaking in *point releases*, not even major ones), but since the core Swing library isn&#8217;t really updated any longer, I think things are stable enough these days to give it a try.</p>
]]></content:encoded>
			<wfw:commentRss>http://fifesoft.com/blog/?feed=rss2&#038;p=628</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
