[Lazarus] Figures in code explorer

2009-04-19 Thread Alexander Klenin
New figures feature is an excellent addition, thanks Paul and Mattias! It already motivated be to fix some stylistic problems in one of my projects ;-) A few questions/suggestions for improvement: 1) Where did the name came from? It is totally meaningless for me. Maybe 'Stylistic notes' or

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Mattias Gaertner
On Sun, 19 Apr 2009 20:28:31 +1100 Alexander Klenin kle...@gmail.com wrote: New figures feature is an excellent addition, thanks Paul and Mattias! It already motivated be to fix some stylistic problems in one of my projects ;-) A few questions/suggestions for improvement: 1) Where did

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 laza...@mfriebe.de 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] Figures in code explorer

2009-04-19 Thread Paul Ishenin
Alexander Klenin wrote: 4f) Add 'Line loo long' with default limit of perhaps 80 or 90 characters. Not a bad figure to add. I would choose only bigger limit - 100-120 chars. Best regards, Paul Ishenin. ___ Lazarus mailing list

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Alexander Klenin
On Sun, Apr 19, 2009 at 22:02, Mattias Gaertner nc-gaert...@netcologne.de wrote: A few questions/suggestions for improvement: 1) Where did the name came from? It is totally meaningless for me. See http://www.askoxford.com/concise_oed/figure?view=uk Hm. I'll quote that: figure, noun: 1 a

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Martin Friebe
Alexander Klenin wrote: On Sun, Apr 19, 2009 at 22:02, Mattias Gaertner nc-gaert...@netcologne.de wrote: A few questions/suggestions for improvement: 1) Where did the name came from? It is totally meaningless for me. See http://www.askoxford.com/concise_oed/figure?view=uk

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Marco van de Voort
On Mon, Apr 20, 2009 at 12:00:07AM +1100, Alexander Klenin wrote: However, the checks I suggested are very far from 'nazi' level. Truly nazi-checks would include things as 'begin statement never/always alone on the line', Funny that you think that is extreme. begin always alone on a newline,

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Paul Ishenin
Martin Friebe wrote: Hm, while some of them probably are most likely to be used to find possible issues, there is no need to see them as an problem indicator only. So point 1 is correct as they are a collecion of numbers figures Still, maybe they would be better named as statistics?

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Alexander Klenin
On Mon, Apr 20, 2009 at 01:10, Marco van de Voort mar...@stack.nl wrote: On Mon, Apr 20, 2009 at 12:00:07AM +1100, Alexander Klenin wrote: However, the checks I suggested are very far from 'nazi' level. Truly nazi-checks would include things as 'begin statement never/always alone on the

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Alexander Klenin
On Mon, Apr 20, 2009 at 01:28, Paul Ishenin webpi...@mail.ru wrote: Martin Friebe wrote: Hm, while some of them probably are most likely to be used to find possible issues, there is no need to see them as an problem indicator only. So point 1 is correct as they are a collecion of numbers

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Mattias Gaertner
On Mon, 20 Apr 2009 02:03:30 +1100 Alexander Klenin kle...@gmail.com wrote: On Mon, Apr 20, 2009 at 01:28, Paul Ishenin webpi...@mail.ru wrote: Martin Friebe wrote: Hm, while some of them probably are most likely to be used to find possible issues, there is no need to see them as an

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Marc Weustink
Mattias Gaertner wrote: On Sun, 19 Apr 2009 20:28:31 +1100 Alexander Klenin kle...@gmail.com wrote: 4b) Add 'Unsorted procedures' similar to 'unsorted members' I rarely have seen units where all procedure are sorted alphabetically. Then you have never seen mine. In order to find way in

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Marc Weustink
Paul Ishenin wrote: Alexander Klenin wrote: 4f) Add 'Line loo long' with default limit of perhaps 80 or 90 characters. Not a bad figure to add. I would choose only bigger limit - 100-120 chars. What about right margin setting ? Marc ___ Lazarus

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Mattias Gaertner
On Mon, 20 Apr 2009 00:00:07 +1100 Alexander Klenin kle...@gmail.com wrote: On Sun, Apr 19, 2009 at 22:02, Mattias Gaertner nc-gaert...@netcologne.de wrote: A few questions/suggestions for improvement: 1) Where did the name came from? It is totally meaningless for me. See

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Mattias Gaertner
On Mon, 20 Apr 2009 00:56:06 +0200 Marc Weustink m...@dommelstein.net wrote: Mattias Gaertner wrote: On Sun, 19 Apr 2009 20:28:31 +1100 Alexander Klenin kle...@gmail.com wrote: 4b) Add 'Unsorted procedures' similar to 'unsorted members' I rarely have seen units where all

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Alexander Klenin
On Mon, Apr 20, 2009 at 09:29, Mattias Gaertner nc-gaert...@netcologne.de wrote: Theoretically you can define 'hint' very generic: some message about a pascal source. But then the term 'hint' becomes almost meaningless But you propose to define 'figure' as an even more generic thing: number,

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Alexander Klenin
On Mon, Apr 20, 2009 at 10:19, Mattias Gaertner nc-gaert...@netcologne.de wrote: 4c) Add 'Empty begin..end' block, probably with the same check for the comments as in (4a) 4d) Add 'Single statement in begin..end block' 4e) Add 'Too many nesting statements' and 'Too many nesting