POV-Ray : Newsgroups : povray.programming : Comment/Uncomment in Window-Based Editors Server Time
22 Dec 2024 12:14:51 EST (-0500)
  Comment/Uncomment in Window-Based Editors (Message 1 to 2 of 2)  
From: Ghost2
Subject: Comment/Uncomment in Window-Based Editors
Date: 6 Nov 2004 10:55:00
Message: <web.418cf2f7e9bf4e6f7d1f61010@news.povray.org>
If you have to comment/uncomment a large block of code, it can be tedious to
keep entering "//" all the time. It would be nice if comment/uncomment
options were available on the Right-Click/Text menus, much in the same way
that indent/undent are available.  I already know about '/*...*/', but this
would be be more selective, easier to understand for newer users, and more
convenient for the more experienced.  Also, this could be implemented on
other platforms as well.

Note: I wasn't sure where to post this message, so sorry if it seems out of
place.


Post a reply to this message

From: Christoph Hormann
Subject: Re: Comment/Uncomment in Window-Based Editors
Date: 6 Nov 2004 11:30:02
Message: <cmittf$qbh$1@chho.imagico.de>
Ghost2 wrote:
> If you have to comment/uncomment a large block of code, it can be tedious to
> keep entering "//" all the time. It would be nice if comment/uncomment
> options were available on the Right-Click/Text menus, much in the same way
> that indent/undent are available.  I already know about '/*...*/', but this
> would be be more selective, easier to understand for newer users, and more
> convenient for the more experienced.  Also, this could be implemented on
> other platforms as well.
> 
> Note: I wasn't sure where to post this message, so sorry if it seems out of
> place.

First: Wrong group for feature requests, this is for discussing the 
POV-Ray source code.

Second: using end of line comment ('//') is counterproductive for 
commenting larger blocks.

Third: You can easily do this with regular expression search & replace.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.