<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 211: Problem with semicolons after formatting VirtualTrees.pas</title><link href="https://sourceforge.net/p/jedicodeformat/bugs/211/" rel="alternate"/><link href="https://sourceforge.net/p/jedicodeformat/bugs/211/feed.atom" rel="self"/><id>https://sourceforge.net/p/jedicodeformat/bugs/211/</id><updated>2009-07-21T13:25:19Z</updated><subtitle>Recent changes to 211: Problem with semicolons after formatting VirtualTrees.pas</subtitle><entry><title>Problem with semicolons after formatting VirtualTrees.pas</title><link href="https://sourceforge.net/p/jedicodeformat/bugs/211/" rel="alternate"/><published>2009-07-21T13:25:19Z</published><updated>2009-07-21T13:25:19Z</updated><author><name>Akkie Malus</name><uri>https://sourceforge.net/u/akkiemalus/</uri></author><id>https://sourceforge.net3b6260b735ed70f9161c36ef09941c5e2ae536d9</id><summary type="html">&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;</summary></entry></feed>