<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head>
<meta http-equiv="cache-control" content="max-age=180,private" />
</head>
<card id="discuz_wml" title="CnPack Forum">
<p>#1 Surround with begin..end<br /><small>Hello, surround with begin..end (Alt + Shift + B) is great feature to use, but I found that it is not working right for me in case<br />
there are some of operators like for.., if.., etc before the line I'm trying to surround with begin..end<br />
<br />
For example, I have code like<br />
[code]if Condition then<br />
  Something;[/code]<br />
<br />
I need to add additional line<br />
[code]if Condition then<br />
begin<br />
  Something;<br />
  SomethingMore;<br />
end;[/code]<br />
<br />
But when I select Something and hit Alt + Shift + B, I get<br />
[code]if ..</small><br />
</p>
<p>#1 <a href="index.php?action=thread&amp;tid=2974&amp;start=0&amp;offset=497&amp;sid=zk6sae">&gt;&gt;Next Page</a><br />
<br />Forum:<a href="index.php?action=forum&amp;fid=25&amp;sid=zk6sae">CnWizards IDE Wizard ...</a>
<br />Thread:<a href="index.php?action=thread&amp;tid=2974&amp;sid=zk6sae">Surround with begin. ...</a>
<br />Next Thread:<a href="index.php?action=thread&amp;tid=3025&amp;sid=zk6sae">Possible Memory leak</a>
</p>
<p align="center"><br /><a href="index.php?sid=zk6sae">Home</a><br />
<a href="index.php?action=login&amp;sid=">Login</a><br /><br />
<small>Powered by Discuz!</small></p>
</card>
</wml>