|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |