POV-Ray : Newsgroups : povray.general : macros, assistance by the editor? Server Time
25 Nov 2024 23:27:16 EST (-0500)
  macros, assistance by the editor? (Message 1 to 3 of 3)  
From: Sereib
Subject: macros, assistance by the editor?
Date: 27 Sep 2012 07:30:01
Message: <web.506437a377a15171b7dd76d30@news.povray.org>
Hi,

I'm using macros in the POV scene language with sometimes more than 10
parameters for complex objects. During text editing, it becomes rather difficult
to use these macros, and I have to be very careful to keep track of the
parameter sequence.

In e. g. visual basic, the editor assists me by "overlaying" the name of the
parameter at the position of the cursor within the brackets of the macro, if you
understand what I mean ...

Any chance that there is something similar or useful in the POV editor?

Thanks!


Post a reply to this message

From: scott
Subject: Re: macros, assistance by the editor?
Date: 27 Sep 2012 08:14:11
Message: <50644313$1@news.povray.org>
> I'm using macros in the POV scene language with sometimes more than 10
> parameters for complex objects. During text editing, it becomes rather difficult
> to use these macros, and I have to be very careful to keep track of the
> parameter sequence.
>
> In e. g. visual basic, the editor assists me by "overlaying" the name of the
> parameter at the position of the cursor within the brackets of the macro, if you
> understand what I mean ...
>
> Any chance that there is something similar or useful in the POV editor?

You might be interested in what Mike is doing with the Visual Studio IDE 
(check the "POV In Visual Studio Update (Has Screenshot)" thread in 
off-topic). It's at an early stage but looks exciting.


Post a reply to this message

From: Mike Raiford
Subject: Re: macros, assistance by the editor?
Date: 27 Sep 2012 13:55:18
Message: <50649306$1@news.povray.org>
On 9/27/2012 7:14 AM, scott wrote:

>> Any chance that there is something similar or useful in the POV editor?
>
> You might be interested in what Mike is doing with the Visual Studio IDE
> (check the "POV In Visual Studio Update (Has Screenshot)" thread in
> off-topic). It's at an early stage but looks exciting.

Yep.. something like that is in the works for the Visual Studio editor. 
I've already got it scanning identifiers, and am working on the context 
system now. Once I get it so the parameter help, and suggestion lists 
are available (and show mostly meaningful suggestions) , I'll put it 
somewhere to download.

-- 
~Mike


Post a reply to this message

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