[Lazarus] Hiding Comments

2010-02-15 Thread theo
I know this is probably hard to implement but I sometimes would really like to have it. ;-) I have some heavily commented code, be it for the following reasons. - Comments explaining what the following code is doing, sometimes line by line. - Comments which keep some "thoughts" of previous implemen

Re: [Lazarus] Hiding Comments

2010-02-15 Thread Paul Nicholls
- Original Message - From: "theo" To: Sent: Tuesday, February 16, 2010 11:28 AM Subject: [Lazarus] Hiding Comments I know this is probably hard to implement but I sometimes would really like to have it. ;-) I have some heavily commented code, be it for the followi

Re: [Lazarus] Hiding Comments

2010-02-15 Thread theo
Paul Nicholls? This Paul Nicholls? http://www.efg2.com/Lab/Library/UseNet/1999/0806.txt ;-) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Hiding Comments

2010-02-15 Thread Paul Nicholls
- Original Message - From: "theo" To: Sent: Tuesday, February 16, 2010 12:41 PM Subject: Re: [Lazarus] Hiding Comments Paul Nicholls? This Paul Nicholls? http://www.efg2.com/Lab/Library/UseNet/1999/0806.txt ;-) Why YES I am...wow, that takes me back! LOL ch

Re: [Lazarus] Hiding Comments

2010-02-15 Thread theo
Well, then welcome on board (if nobody else said that before). How is the weather like in Australia? ;-) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Hiding Comments

2010-02-15 Thread Paul Nicholls
- Original Message - From: "theo" To: Sent: Tuesday, February 16, 2010 12:54 PM Subject: Re: [Lazarus] Hiding Comments Well, then welcome on board (if nobody else said that before). How is the weather like in Australia? ;-) Thanks :) it is a lovely sunny 24 degre

Re: [Lazarus] Hiding Comments

2010-02-15 Thread theo
> it is a lovely sunny 24 degrees here in Tasmania, Australia, very nice :) Humm, it's -10 (Celsius) here in central Switzerland. Swiss Intl. Air Lines offers three flights to Hobart tomorrow. Two via Hongkong-Sydney one via Bangkok-Sydney. Which one to take? ;-) -- _

Re: [Lazarus] Hiding Comments

2010-02-15 Thread Thierry Coq
Hello all, I join theo in asking for such features, my emphasis is on having more structured "comments" embedded in the code. For example, storing the design model, requirements, or traceability to the design and requirements. Of course, this would be awkward to manage if a feature like the o

Re: [Lazarus] Hiding Comments

2010-02-15 Thread Graeme Geldenhuys
Hello Theo, > I think it would be helpful to hide all comments at times, because while > helpful, they make reading the actually working code a lot harder. That's why I prefer external documentation like is done with FPC and Lazarus projects - using XML files. Alternatively, keep most of your c

Re: [Lazarus] Hiding Comments

2010-02-15 Thread Graeme Geldenhuys
theo wrote: > > I think it would be helpful to hide all comments at times, because while > helpful, they make reading the actually working code a lot harder. I just thought of another solution. Change your editor preferences and change the foreground and background color for comments to be the sa

Re: [Lazarus] Hiding Comments

2010-02-16 Thread theo
Thanks Graeme That's why I prefer external documentation like is done with FPC and Lazarus projects - using XML files. This is more for the "final documentation" of functions, but not so good for temporary comments,hints,todos and the like. wrap them with {%region} so it enables code-foldin

Re: [Lazarus] Hiding Comments

2010-02-16 Thread John
Graeme Geldenhuys wrote: theo wrote: I think it would be helpful to hide all comments at times, because while helpful, they make reading the actually working code a lot harder. I just thought of another solution. Change your editor preferences and change the foreground a

Re: [Lazarus] Hiding Comments

2010-02-16 Thread Flávio Etrusco
>> wrap them with {%region} so it enables code-folding. > > Code folding still leaves a visible line, so this does not help for one-line > comments and is not very handy. I'd like the feature too. Actually I'm quite surprised that Lazarus doesn't have the ability to automatically fold comments alr

Re: [Lazarus] Hiding Comments

2010-02-16 Thread waldo kitty
On 2/16/2010 02:55, Graeme Geldenhuys wrote: theo wrote: I think it would be helpful to hide all comments at times, because while helpful, they make reading the actually working code a lot harder. I just thought of another solution. Change your editor preferences and change the foreground and