POV-Ray : Newsgroups : povray.general : features request. Just wondering Server Time
19 Nov 2024 01:50:01 EST (-0500)
  features request. Just wondering (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Fabien Hénon
Subject: features request. Just wondering
Date: 23 Jun 2002 17:51:38
Message: <3D16418D.78F8E875@club-internet.fr>
I just wonder how much work it would take to add two features which I
would find great in the windows editor of WINPOV:

1 - Highlight matching braces. When the cursor is close to { or }, the
matching one is highlighted. It would be much easier to understand the
code in deeply nested objects, CSG, ..... Most unix editors have this
feature.

2 - Expanding keywords : When the beginning of a keyword is written in
the editor (ie 'ligh'), the user should be given the choice of the
possible matching keywords ( 'light_source' or 'light_group'.
If only one keyword matches (ie 'cam'), the editor should complete that
keyword ('camera').
Scite does this.

If you want clear examples, both features are implemented in my Linux
POV-RAY editor at :
http://pyvon.sourceforge.net    see screenshots

You have to have Python installed first.


Post a reply to this message

From: Tony[B]
Subject: Re: features request. Just wondering
Date: 23 Jun 2002 18:20:08
Message: <3d164998@news.povray.org>
> 2 - Expanding keywords : When the beginning of a keyword is written in
> the editor (ie 'ligh'), the user should be given the choice of the
> possible matching keywords ( 'light_source' or 'light_group'.
> If only one keyword matches (ie 'cam'), the editor should complete
> that keyword ('camera').

Type "cam" and press tab. Type "ligh" and press tab a few times.


Post a reply to this message

From: Warp
Subject: Re: features request. Just wondering
Date: 23 Jun 2002 18:48:17
Message: <3d165031@news.povray.org>
Tony[B] <ben### [at] catholicorg> wrote:
> Type "cam" and press tab. Type "ligh" and press tab a few times.

  Also read the sections 1.5.5 and 1.5.6 of the documentation for even
more options.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Slime
Subject: Re: features request. Just wondering
Date: 23 Jun 2002 22:14:25
Message: <3d168081@news.povray.org>
> 1 - Highlight matching braces. When the cursor is close to { or }, the
> matching one is highlighted. It would be much easier to understand the
> code in deeply nested objects, CSG, ..... Most unix editors have this
> feature.

I'm pretty sure if you put the cursor near a brace and press ctrl+], it will
go to the matching brace. I might have the shortcut wrong... check the
menus.

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

From: Philippe Debar
Subject: Re: features request. Just wondering
Date: 24 Jun 2002 02:25:52
Message: <3d16bb70$1@news.povray.org>
"Slime" <slm### [at] slimelandcom> wrote in message
news:3d168081@news.povray.org...

> I'm pretty sure if you put the cursor near a brace and press ctrl+], it
will
> go to the matching brace. I might have the shortcut wrong... check the
> menus.

The shortcut is correct. However you can't perform it on every keyboard...
if this is a problem, you can always change it to what you like by doing
menu: Editor/Editor Preferences... [Alt+Enter].


Povingly,

Philippe


Post a reply to this message

From: Fabien
Subject: Re: features request. Just wondering
Date: 24 Jun 2002 13:17:01
Message: <3D175352.1030401@caramail.com>
Tony[B] wrote:
>>2 - Expanding keywords : When the beginning of a keyword is written in
>>the editor (ie 'ligh'), the user should be given the choice of the
>>possible matching keywords ( 'light_source' or 'light_group'.
>>If only one keyword matches (ie 'cam'), the editor should complete
>>that keyword ('camera').
>>
> 
> Type "cam" and press tab. Type "ligh" and press tab a few times.
> 
> 
> 

I guess this feature is new on POV 3.5. I have not tried it yet on 
Windows. ( I don't want to download 6.5 Meg (twice) every week or so).
In that case sorry for the mistake.


Fabien


Post a reply to this message

From: Fabien
Subject: Re: features request. Just wondering
Date: 24 Jun 2002 13:24:58
Message: <3D17552F.3050204@caramail.com>
Fabien wrote:
> Tony[B] wrote:
> 
>>> 2 - Expanding keywords : When the beginning of a keyword is written in
>>> the editor (ie 'ligh'), the user should be given the choice of the
>>> possible matching keywords ( 'light_source' or 'light_group'.
>>> If only one keyword matches (ie 'cam'), the editor should complete
>>> that keyword ('camera').
>>>
>>
>> Type "cam" and press tab. Type "ligh" and press tab a few times.
>>
>>
>>
> 
> I guess this feature is new on POV 3.5. I have not tried it yet on 
> Windows. ( I don't want to download 6.5 Meg (twice) every week or so).
> In that case sorry for the mistake.
> 
> 
> Fabien
> 

By the way would not it be more convenient just to have the executable 
to download for those who just want to play with POV 3.5. I know that 
the POV team does this to have all the files (help, demos, includes) 
properly updated, but still....
6.5 Meg to 1.5 would make a difference.


Post a reply to this message

From: Fabien
Subject: Re: features request. Just wondering
Date: 24 Jun 2002 13:26:39
Message: <3D175595.3060407@caramail.com>
Slime wrote:
>>1 - Highlight matching braces. When the cursor is close to { or }, the
>>matching one is highlighted. It would be much easier to understand the
>>code in deeply nested objects, CSG, ..... Most unix editors have this
>>feature.
>>
> 
> I'm pretty sure if you put the cursor near a brace and press ctrl+], it will
> go to the matching brace. I might have the shortcut wrong... check the
> menus.
> 
>  - Slime
> [ http://www.slimeland.com/ ]
> 
> 
> 

That's the point : Why press Ctrl+] while an automatic highlight is 
possible ? It does not drain out computer resources to do that.


Fabien


Post a reply to this message

From: TinCanMan
Subject: Re: features request. Just wondering
Date: 24 Jun 2002 14:00:12
Message: <3d175e2c$1@news.povray.org>
> By the way would not it be more convenient just to have the executable
> to download for those who just want to play with POV 3.5. I know that
> the POV team does this to have all the files (help, demos, includes)
> properly updated, but still....
> 6.5 Meg to 1.5 would make a difference.
>

Once you download and install 3.5 for windows once, you can download the
VC++ compile which is just the executable.

-tgq


Post a reply to this message

From: Warp
Subject: Re: features request. Just wondering
Date: 24 Jun 2002 14:50:28
Message: <3d1769f4@news.povray.org>
TinCanMan <Tin### [at] hotmailcom> wrote:
> Once you download and install 3.5 for windows once, you can download the
> VC++ compile which is just the executable.

  And then p.beta-test gets filled of bug reports which are actually
caused because of not using updated include files?

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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