CodeTool.ExtractProcHead(ProcNode,Attributes);
Perfect, thanks!
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
On Tue, 01 Feb 2011 00:13:50 +0100
wrote:
> On Mon, 31 Jan 2011 23:35:11 +0100, Mattias Gaertner
> wrote:
> >> if AUnit <> CachedUnit then
> >> begin
> >
> > Maybe the above if is the cause. Remove it.
>
> I found the problem. The line and column number were switched.
> Therefore Clea
On Mon, 31 Jan 2011 23:35:11 +0100, Mattias Gaertner
wrote:
if AUnit <> CachedUnit then
begin
Maybe the above if is the cause. Remove it.
I found the problem. The line and column number were switched.
Therefore CleanPos was bogus.
Now one last problem, how to find the method name?
Pr
On Mon, 31 Jan 2011 22:38:54 +0100
Darius Blaszyk wrote:
>
> Martin / Mattias,
>
> Thanks for the help. I finally used RegisterChangeEvent and it works fine.
> Unfortunately I have a another problem now. After modifying the caret
> position the event is fired and from the caret position I nee
Martin / Mattias,
Thanks for the help. I finally used RegisterChangeEvent and it works fine.
Unfortunately I have a another problem now. After modifying the caret position
the event is fired and from the caret position I need to resolve the method
name. I have looked at how this is done ./exam
On 25/01/2011 00:18, Martin wrote:
At this point I noticed your next post.
RegisterStatusChangedHandler in synedit => see what fpdoc edit does
ide\fpdoceditwindow.pas
line 297
--
___
Lazarus mailing list
Lazarus@lists.lazarus.f
On 24/01/2011 23:51, Darius Blaszyk wrote:
What I would like to do is to update a listview (in my package) after I click
on the source editor. So I need to hook into the source editor's OnClick method
and get the procedure/function name, line number and the file name. The last
two items will p
On Jan 25, 2011, at 1:03 AM, Mattias Gaertner wrote:
> On Tue, 25 Jan 2011 00:51:07 +0100
> Darius Blaszyk wrote:
>
>> What I would like to do is to update a listview (in my package) after I
>> click on the source editor. So I need to hook into the source editor's
>> OnClick method and get th
On Tue, 25 Jan 2011 00:51:07 +0100
Darius Blaszyk wrote:
> What I would like to do is to update a listview (in my package) after I click
> on the source editor. So I need to hook into the source editor's OnClick
> method and get the procedure/function name, line number and the file name.
> The
What I would like to do is to update a listview (in my package) after I click
on the source editor. So I need to hook into the source editor's OnClick method
and get the procedure/function name, line number and the file name. The last
two items will probably be more easy, but what about the firs
On Tue, 25 Jan 2011 00:23:44 +0100
Darius Blaszyk wrote:
> Hi,
>
> How can I get the source filename, method name and position on clicking the
> source editor through the ideintf? I would like to have this so I can make my
> IDE package (fpprofiler) context sensitive.
Source filename and posi
Hi,
How can I get the source filename, method name and position on clicking the
source editor through the ideintf? I would like to have this so I can make my
IDE package (fpprofiler) context sensitive.
Regards, Darius
--
___
Lazarus mailing list
Lazar
12 matches
Mail list logo