Discussion:
How can I add unit to uses list?
(too old to reply)
Chetverikov Dmitriy
2008-04-22 15:06:07 UTC
Permalink
Hello,
I need add unit to uses list. How can I do it with ToolsAPI?
Thanks.
Gerrit Beuze
2008-04-22 16:46:00 UTC
Permalink
Post by Chetverikov Dmitriy
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
Chetverikov Dmitriy
2008-04-23 06:19:08 UTC
Permalink
Thanks.

Loading...