POV-Ray : Newsgroups : povray.pov4.discussion.general : Request: collapsible code blocks : Re: Request: collapsible code blocks Server Time
29 Apr 2024 06:48:58 EDT (-0400)
  Re: Request: collapsible code blocks  
From: SharkD
Date: 10 Jul 2008 15:45:00
Message: <web.487665b2a7b34a59e116e5c40@news.povray.org>
"Reactor" <rea### [at] hotmailcom> wrote:
> Out of curiosity, what do you mean by loose or irregular?  Most blocks of SDL
> are surrounded by curly braces, and in theory, one could have a collapse
> threshold, where any block surrounded by curly braces that has more lines than
> the threshold could be collapsible (allowing nested collapsing, etc).  The user
> selecting many lines and selecting a hide or collapse menu option could also
> work.  This might be a more platform specific thing, though.
>
>
>
>
> -Reactor

In POV SDL you can overlap or intersect blocks. For instance something like the
following code would be valid:

pigment
{
  #if (true)
    color rgb x
    }
  #else
    color rgb y
    }
  #end


Post a reply to this message

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