<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 211: Problem with semicolons after formatting VirtualTrees.pas</title><link>https://sourceforge.net/p/jedicodeformat/bugs/211/</link><description>Recent changes to 211: Problem with semicolons after formatting VirtualTrees.pas</description><atom:link href="https://sourceforge.net/p/jedicodeformat/bugs/211/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 21 Jul 2009 13:25:19 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/jedicodeformat/bugs/211/feed.rss" rel="self" type="application/rss+xml"/><item><title>Problem with semicolons after formatting VirtualTrees.pas</title><link>https://sourceforge.net/p/jedicodeformat/bugs/211/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When 'Put semicolons after last statement in a block' is enabled:&lt;/p&gt;
&lt;p&gt;VirtualTrees.pas gets malformed when the source is formatted.&lt;br /&gt;
Example:&lt;/p&gt;
&lt;p&gt;function TestJCF: Integer;&lt;br /&gt;
begin&lt;br /&gt;
if True then&lt;br /&gt;
Result := 0&lt;br /&gt;
{$IFDEF COMPILER_5_UP}&lt;br /&gt;
else&lt;br /&gt;
Result := 1;&lt;br /&gt;
{$ENDIF COMPILER_5_UP}&lt;br /&gt;
end;&lt;/p&gt;
&lt;p&gt;After formatting this procedure contains a semicolon on the wrong place:&lt;/p&gt;
&lt;p&gt;function TestJCF: Integer;&lt;br /&gt;
begin&lt;br /&gt;
if True then&lt;br /&gt;
Result := 0;&lt;br /&gt;
{$IFDEF COMPILER_5_UP}&lt;br /&gt;
else&lt;br /&gt;
Result := 1;&lt;br /&gt;
{$ENDIF COMPILER_5_UP}&lt;br /&gt;
end;&lt;/p&gt;
&lt;p&gt;This is an example, the complete Virtual Treview source can be downloaded here:&lt;br /&gt;
&lt;a href="http://www.soft-gems.net/index.php?option=com_content&amp;amp;task=view&amp;amp;id=12&amp;amp;Itemid=33" rel="nofollow"&gt;http://www.soft-gems.net/index.php?option=com_content&amp;amp;task=view&amp;amp;id=12&amp;amp;Itemid=33&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Akkie Malus</dc:creator><pubDate>Tue, 21 Jul 2009 13:25:19 -0000</pubDate><guid>https://sourceforge.net3b6260b735ed70f9161c36ef09941c5e2ae536d9</guid></item></channel></rss>