Article View: borland.public.delphi.opentoolsapi
Article #161Re: How can I add unit to uses list?
From: Gerrit Beuze
Date: Tue, 22 Apr 2008 16:46
Date: Tue, 22 Apr 2008 16:46
11 lines
1353 bytes
1353 bytes
> I need add unit to uses list. How can I do it with ToolsAPI? Use IOTAEditReader to get the edit buffer source code, Parse the source - or at least locate the uses clauses. Use IOTAEditWriter to write modified source to edit buffer. Gerrit Beuze ModelMaker Tools Boost your productivity in the Delphi IDE with ModelMaker Code Explorer: http://www.modelmakertools.com/code-explorer/index.html
Technical Details
Message-ID:
<480e1649@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<480dfedf@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10c3df,56315d76f975ee88 X-Google-Attributes: gid10c3df,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Gerrit Beuze" <gerrit[at][-nospam]modelmakertools[dot]com> Newsgroups: borland.public.delphi.opentoolsapi References: <480dfedf@newsgroups.borland.com> Subject: Re: How can I add unit to uses list? Date: Tue, 22 Apr 2008 18:46:00 +0200 Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 91.56.101.22 Message-ID: <480e1649@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1208882761 91.56.101.22 (22 Apr 2008 09:46:01 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!news.isoc.lu!newsgroups.borland.com!not-for-mail