Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-21 Thread Graeme Geldenhuys
On Tue, Apr 21, 2009 at 2:37 PM, Martin Friebe wrote: > > There is a need to display that kind of info independent of folding, and > in a form that does not require the mouse (can be reached quicker), but > for now... I managed to get this working without the mouse. ;-) * Enabled folding at C

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-21 Thread Graeme Geldenhuys
On Tue, Apr 21, 2009 at 2:37 PM, Martin Friebe wrote: > > The AV is fixed in revision 19549. Thanks for the hint. > > You will need to add folding at Procedure-level and Class-level (maybe > class-section too), in order to see where in the code you are... Thanks, it works perfectly now. Open sou

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-21 Thread Martin Friebe
Graeme Geldenhuys wrote: > On Sun, Apr 19, 2009 at 3:11 AM, Martin Friebe wrote: > >> There is now revision 19499 >> >> you need the mouse (so it isn't as quick and convenient as a key-command >> driven hint). >> The Fold-Gutter part now has it's own Pop-up menu. (only at lines that >> have

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-21 Thread Graeme Geldenhuys
On Sun, Apr 19, 2009 at 3:11 AM, Martin Friebe wrote: >> > There is now revision 19499 > > you need the mouse (so it isn't as quick and convenient as a key-command > driven hint). > The Fold-Gutter part now has it's own Pop-up menu. (only at lines that > have folding present). And it shows all

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-19 Thread Graeme Geldenhuys
On Sun, Apr 19, 2009 at 3:11 AM, Martin Friebe wrote: > The Fold-Gutter part now has it's own Pop-up menu. (only at lines that > have folding present). And it shows all the nested levels. Thanks Martin, I'll give this a try on Monday. Regards, - Graeme -

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-18 Thread Martin Friebe
Graeme Geldenhuys wrote: > Hi, > > I often have large classes that are bigger than what the source editor > can display at once. I'm mainly talking about tiOPF project here. > Anyway, I receive patches for large methods and use the IDE 'goto > line' command to maybe review or modify a received pat

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Mattias Gärtner
Zitat von Alexander Klenin : > On Fri, Apr 3, 2009 at 00:13, Graeme Geldenhuys > wrote: > > On Thu, Apr 2, 2009 at 12:28 PM, Mattias Gaertner > > wrote: > >> > >> Code explorer can follow the cursor. > > > > Can you explain how? I tried all the settings in Code Explorer and > > nothing allows th

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Alexander Klenin
On Fri, Apr 3, 2009 at 00:13, Graeme Geldenhuys wrote: > On Thu, Apr 2, 2009 at 12:28 PM, Mattias Gaertner > wrote: >> >> Code explorer can follow the cursor. > > Can you explain how? I tried all the settings in Code Explorer and > nothing allows the following the cursor behaviour. Perhaps Matti

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 12:28 PM, Mattias Gaertner wrote: > > Code explorer can follow the cursor. Can you explain how? I tried all the settings in Code Explorer and nothing allows the following the cursor behaviour. Regards, - Graeme - ___ fpGUI -

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Sayyid Ibnu Husein Alatas
From: Graeme Geldenhuys To: General mailing list Sent: Thursday, April 2, 2009 5:50:46 PM Subject: Re: [Lazarus] ide enhancement - method or cursor location belongs to what class? On Thu, Apr 2, 2009 at 12:47 PM, Graeme Geldenhuys wrote: >> >> C

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Graeme Geldenhuys
2009/4/2 Reenen Laurie : > > Personally, I'd like to see it implemented with the two comboboxes, because > not only does it show you where you are, but also lets you go where you want > to go pretty easily. That's why I ported the "Procedure List" expert a year or so ago. It allows me to jump very

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Reenen Laurie
Graeme wrote: > I remember in the VB6 days, there was two edit fields above the > editor. One listed the module or class (I think) and the other listed > the procedure you were in. So clearly knowing where you are is handy > to more than just me. :-) > I tried to implement *exactly that* in the I

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Sayyid Ibnu Husein Alatas
Graeme Geldenhuys wrote: Is there a way to quickly see what class I am currently in without loosing my current position in the source code? I was thinking of maybe some editor shortcut that could display for a few seconds the classname in the top right corner of the editor and then simply fa

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 12:50 PM, Graeme Geldenhuys wrote: > On Thu, Apr 2, 2009 at 12:47 PM, Graeme Geldenhuys > wrote: >>> >>> Code explorer can follow the cursor. >> >> That's what I tried first, but can't see how or where it indicates >> what class. I'm currently in a method as follows: >> Tti

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 12:47 PM, Graeme Geldenhuys wrote: >> >> Code explorer can follow the cursor. > > That's what I tried first, but can't see how or where it indicates > what class. I'm currently in a method as follows: > TtiObjectListTestCase.FindByProps_PropertyPath > > Yet the Code Explorer

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 12:28 PM, Mattias Gaertner wrote: > > Code explorer can follow the cursor. That's what I tried first, but can't see how or where it indicates what class. I'm currently in a method as follows: TtiObjectListTestCase.FindByProps_PropertyPath Yet the Code Explorer doesn't give

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Martin Friebe
ik wrote: > Why not to use the Status bar for that ? It also can remain there as > long as you inside the method etc.. > > I suggested an idea that was rejected by most people on this list: > have an ability to split the editor, I use it in VIM for example when > I need to see additional informa

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread ik
On Thu, Apr 2, 2009 at 1:15 PM, Graeme Geldenhuys wrote: > 2009/4/2 ik : > > Why not to use the Status bar for that ? It also can remain there as long > as > > you inside the method etc.. > > I though of that just after I posted that message. Maybe the full path > unit name can be shorten with ell

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Mattias Gaertner
On Thu, 2 Apr 2009 11:42:48 +0200 Graeme Geldenhuys wrote: > Hi, > > I often have large classes that are bigger than what the source editor > can display at once. I'm mainly talking about tiOPF project here. > Anyway, I receive patches for large methods and use the IDE 'goto > line' command to

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 11:42 AM, Graeme Geldenhuys wrote: > > Is there a way to quickly see what class I am currently in without > loosing my current position in the source code?  I was thinking of > maybe some editor shortcut that could display for a few seconds the > classname in the top right c

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Graeme Geldenhuys
2009/4/2 ik : > Why not to use the Status bar for that ? It also can remain there as long as > you inside the method etc.. I though of that just after I posted that message. Maybe the full path unit name can be shorten with ellipses in the middle and space created for the class name. The problem i

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread ik
Why not to use the Status bar for that ? It also can remain there as long as you inside the method etc.. I suggested an idea that was rejected by most people on this list: have an ability to split the editor, I use it in VIM for example when I need to see additional information without loosing my

[Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Graeme Geldenhuys
Hi, I often have large classes that are bigger than what the source editor can display at once. I'm mainly talking about tiOPF project here. Anyway, I receive patches for large methods and use the IDE 'goto line' command to maybe review or modify a received patch. Again, the IDE only shows me li