<?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 Insert code at beginning of every procedure<br /><small>Hello,<br />
<br />
I would like to instrument my code by adding some lines at beginning of every procedure in current file. I found some examples here on how to find the current procedure name (CnOtaGetCurrentProcedure) and to add text at cursor position (IdeInsertTextIntoEditor) but I can't find how to add text at the very beginning of a procedure nor how to find each procedure in a file.<br />
<br />
Do you have some clues on which methods I can use from CnWizards or the OTA API to do that ?<br />
<br />
Here is my cur ..</small><br />
</p>
<p>#1 <a href="index.php?action=thread&amp;tid=217841&amp;start=0&amp;offset=497&amp;sid=MIn7MN">&gt;&gt;Next Page</a><br />
<br />Forum:<a href="index.php?action=forum&amp;fid=25&amp;sid=MIn7MN">CnWizards IDE Wizard ...</a>
<br />Thread:<a href="index.php?action=thread&amp;tid=217841&amp;sid=MIn7MN">Insert code at begin ...</a>
<br />Next Thread:<a href="index.php?action=thread&amp;tid=225736&amp;sid=MIn7MN">Custom DLL - not com ...</a>
</p>
<p align="center"><br /><a href="index.php?sid=MIn7MN">Home</a><br />
<a href="index.php?action=login&amp;sid=">Login</a><br /><br />
<small>Powered by Discuz!</small></p>
</card>
</wml>