POV-Ray : Newsgroups : povray.windows : Editor Suggestion Server Time
23 Nov 2024 18:37:40 EST (-0500)
  Editor Suggestion (Message 1 to 3 of 3)  
From: Josh
Subject: Editor Suggestion
Date: 22 Sep 2004 08:12:29
Message: <41516c2d@news.povray.org>
It'd be nice if the Windows editor allowed you highlight a block of SDL and
then Comment/Uncomment it with a single mouse click.  I've got that facility
in the MS Development Environment and it's a real boon.


Post a reply to this message

From: Chris B
Subject: Re: Editor Suggestion
Date: 22 Sep 2004 08:48:12
Message: <4151748c$1@news.povray.org>
"Josh" <som### [at] microsoftcom> wrote in message
news:41516c2d@news.povray.org...
> It'd be nice if the Windows editor allowed you highlight a block of SDL
and
> then Comment/Uncomment it with a single mouse click.  I've got that
facility
> in the MS Development Environment and it's a real boon.
>
>

That seems like a good idea to me.
While your waiting you might want to record your own macro to do it.
I think the following would probably work in a rudimentary sort of way:

  Highlight your text then start the macro recorder
  Do a 'Ctrl - X' to cut the highlighted text
  Type '/**/'
  'Backspace'  2 characters and
  Do Ctrl - V to paste the text,

then stop the macro recording and assign it to a key of your choice.

Regards,
Chris.


Post a reply to this message

From: Arlo J
Subject: Re: Editor Suggestion
Date: 22 Sep 2004 23:34:03
Message: <4152442b@news.povray.org>
Josh wrote:

> It'd be nice if the Windows editor allowed you highlight a block of SDL and
> then Comment/Uncomment it with a single mouse click.  I've got that facility
> in the MS Development Environment and it's a real boon.

You beat me to it.. I was thinking about this idea too! :) Of course, 
commenting/uncommenting is something I do based on declares usually, 
sometimes it's just easiest to do a temporary comment/uncomment by 
highlighted and a few clicks...

Arlo


Post a reply to this message

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