Borland Plugins

Posted on 2003-03-20
Medium Priority
Last Modified: 2013-11-18
I'd like to write a plugin for the Borland IDE. It will be a text parser for the editor so that I can auto-comment my code. I want to Press a key and comment a function. In other words I must be able to: 1. Get Text from the editor.
2. Parse it in a dll - This part is fine.
3. Insert the comment above the line of the cursor.

An example of this would be appreciated.

A full working example will earn you an additional 250 pts

Question by:AndreDicks
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 11

Expert Comment

ID: 8172998
I would get GExperts form http://www.gexperts.org
There is definitely source in it for 1 and 3.

Accepted Solution

j42 earned 750 total points
ID: 8173070
Hi AndreDicks,

You can add items to the IDE menu that call your *.exe files: Tools -> Configure Tools -> Add. You can provide your executable with command line parameters such as name of the file in the editor, position of the cursor ($EDNAME..., have a look in the delphi help: "transfer macros").
I did it the following way: I wrote a little perl script (parameter: filename etc.) altering my editor file, converted it into *.exe, added this *.exe into the tools menu. All I have to do is _saving_ the editor file, start my executable and confirm the reload of my source code.


Expert Comment

ID: 8173931
there is an example provided by borland. you can found it in DelphiX\Demos\ToolsAPI\Editor Keybinding directory.

wbr, mo.

Expert Comment

ID: 9316662
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question