On Thu, 8 Dec 2005, Mattias Gaertner wrote:
> On Thu, 08 Dec 2005 10:36:34 +0200 > Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > Is there a easy way in Lazarus to move code out of a unit into a include > > file and then insert the $I in the originating unit? > > > > At the moment I create a new text file for the Interface section, cut > > and paste the code. Manually insert the {%MainUnit ...} line in the new > > include file. Then insert the {$I ...} in the originating unit. Then do > > the same process for the Implementation section. > > There is no easier way yet. > > You can write a package to add this function to the IDE. Having just written an article on how to use the codetools, I can assure you that it is a breeze, using the code tools. A walk in the park ! Mattias did a great job with the codetools. Kudos are in order! Michael. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives