BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to get the method's name, the cursor is currently in?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OpenToolsAPI
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Fri Jan 05, 2007 4:51 pm    Post subject: How to get the method's name, the cursor is currently in? Reply with quote



Hello,

is there any predefined function for this? The Castalia NavBar offers
this functionality, but i don't know, how to solve this.
Back to top
Gerrit Beuze
Guest





PostPosted: Fri Jan 05, 2007 9:02 pm    Post subject: Re: How to get the method's name, the cursor is currently in Reply with quote



Quote:
is there any predefined function for this? The Castalia NavBar offers
this functionality, but i don't know, how to solve this.

Nothing predefined available: Fetch the source fomr the IDE editor,
Parse the source, get the editor.cursor position and convert that to the method name.

Check for example ModelMaker Code Explorer:
http://www.modelmakertools.com/code-explorer/index.html

Gerrit Beuze
ModelMaker Tools
Back to top
Guest






PostPosted: Mon Jan 08, 2007 4:52 pm    Post subject: Re: How to get the method's name, the cursor is currently in Reply with quote



Gerrit Beuze schrieb:
Quote:
Nothing predefined available: Fetch the source fomr the IDE editor,
Parse the source, get the editor.cursor position and convert that to the method name.

thx a lot
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OpenToolsAPI All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.