POV-Ray : Newsgroups : povray.general : SDL Editor Problems Server Time
5 Nov 2024 11:16:51 EST (-0500)
  SDL Editor Problems (Message 1 to 10 of 10)  
From: Kirk Andrews
Subject: SDL Editor Problems
Date: 28 Mar 2007 08:10:02
Message: <web.460a68652a248c212577d2d70@news.povray.org>
I have two computers on which I use POV.

On the first, I can't consistently get the color-coding.  Sometimes my
scene-description files are color-coded, and other times not.

On the other, if I type too fast in the editor, it will freeze for about
five seconds (even other applications running at the time are affected),
and then the text will appear.  It's not a slow computer, and I had POV on
it before and it didn't do that.

I doubt this is a bug with the program--I'm figuring that I've got some
setting set wrong.  Anybody know what's wrong?


Post a reply to this message

From: Tim Nikias
Subject: Re: SDL Editor Problems
Date: 28 Mar 2007 08:39:51
Message: <460a7027$1@news.povray.org>
Kirk Andrews wrote:
> On the first, I can't consistently get the color-coding.  Sometimes my
> scene-description files are color-coded, and other times not.

Hit Alt+Enter and set the language to POV-Ray. I usually have to do that 
whenever I start a new file from scratch, but it occurs sometimes when I 
open a file as well.

> On the other, if I type too fast in the editor, it will freeze for about
> five seconds (even other applications running at the time are affected),
> and then the text will appear.  It's not a slow computer, and I had POV on
> it before and it didn't do that.

No idea on this problem. Is it actually POV-Ray thats causing it, or 
might your entire PC freeze for a few seconds, but its just noticeable 
in POV-Ray? Check on that before you blame POV-Ray. ;-)

Regards,
Tim

-- 
aka "Tim Nikias"
Homepage: <http://www.nolights.de>


Post a reply to this message

From: Kirk Andrews
Subject: Re: SDL Editor Problems
Date: 28 Mar 2007 10:45:02
Message: <web.460a8c06651c046f2577d2d70@news.povray.org>
Tim Nikias <JUS### [at] gmxnetWARE> wrote:
> Kirk Andrews wrote:
> > On the first, I can't consistently get the color-coding.  Sometimes my
> > scene-description files are color-coded, and other times not.
>
> Hit Alt+Enter and set the language to POV-Ray. I usually have to do that
> whenever I start a new file from scratch, but it occurs sometimes when I
> open a file as well.

Thanks!  Didn't realize that had to be set.

>
> > On the other, if I type too fast in the editor, it will freeze for about
> > five seconds (even other applications running at the time are affected),
> > and then the text will appear.  It's not a slow computer, and I had POV on
> > it before and it didn't do that.
>
> No idea on this problem. Is it actually POV-Ray thats causing it, or
> might your entire PC freeze for a few seconds, but its just noticeable
> in POV-Ray? Check on that before you blame POV-Ray. ;-)

I'm not blaming POV.  I was just hoping maybe somebody knew why that was
happening.


Post a reply to this message

From: John VanSickle
Subject: Re: SDL Editor Problems
Date: 28 Mar 2007 19:49:20
Message: <460b0d10@news.povray.org>
Kirk Andrews wrote:
> Tim Nikias <JUS### [at] gmxnetWARE> wrote:
> 
>>Kirk Andrews wrote:
>>
>>>On the first, I can't consistently get the color-coding.  Sometimes my
>>>scene-description files are color-coded, and other times not.
>>
>>Hit Alt+Enter and set the language to POV-Ray. I usually have to do that
>>whenever I start a new file from scratch, but it occurs sometimes when I
>>open a file as well.
> 
> 
> Thanks!  Didn't realize that had to be set.
> 
> 
>>>On the other, if I type too fast in the editor, it will freeze for about
>>>five seconds (even other applications running at the time are affected),
>>>and then the text will appear.  It's not a slow computer, and I had POV on
>>>it before and it didn't do that.
>>
>>No idea on this problem. Is it actually POV-Ray thats causing it, or
>>might your entire PC freeze for a few seconds, but its just noticeable
>>in POV-Ray? Check on that before you blame POV-Ray. ;-)
> 
> 
> I'm not blaming POV.  I was just hoping maybe somebody knew why that was
> happening.

ObMicrosoftSlam:

If you're running Windows, the chances are *nobody* knows why it's 
happening.

Regards,
John


Post a reply to this message

From: FrogRay
Subject: Re: SDL Editor Problems
Date: 29 Mar 2007 02:25:01
Message: <web.460b68b9651c046f4e134cd40@news.povray.org>
Tim Nikias <JUS### [at] gmxnetWARE> wrote:
> Kirk Andrews wrote:
> > On the first, I can't consistently get the color-coding.  Sometimes my
> > scene-description files are color-coded, and other times not.
>
> Hit Alt+Enter and set the language to POV-Ray. I usually have to do that
> whenever I start a new file from scratch, but it occurs sometimes when I
> open a file as well.
>
OK, I got that to work for myself but it ONLY works if I use the LEFT-ALT
key!

I did not know that the editor's syntax highlighting could be set for
different languages.  I wonder why they included this feature?  I guess
it's handy if you use a lot of command-line compilers/tools and POV's
editor is your favorite.

I too have noticed that when I create a new file there is often no
highlighting and I usually have to close and reopen it.  Thanks for the
tip.


Post a reply to this message

From: FrogRay
Subject: Re: SDL Editor Problems
Date: 29 Mar 2007 02:30:01
Message: <web.460b6a7d651c046f4e134cd40@news.povray.org>
> If you're running Windows, the chances are *nobody* knows why it's
> happening.
>
Yeah, ain't that the truth.  I might add that a lot of other Windows
Programs exhibit similar behavior, for example MS-WORD (Blargh!).
If this problem is consistent, take note if is happening in other editors as
well.
That might give you a clue.

If you're running win-XP with less than 256mb RAM, it could be
page-swapping.


Post a reply to this message

From: Nekar
Subject: Re: SDL Editor Problems
Date: 29 Mar 2007 03:10:07
Message: <460b745f@news.povray.org>
"FrogRay" <nomail@nomail> wrote in message 
news:web.460b68b9651c046f4e134cd40@news.povray.org...

>
> I did not know that the editor's syntax highlighting could be set for
> different languages.  I wonder why they included this feature?  I guess
> it's handy if you use a lot of command-line compilers/tools and POV's
> editor is your favorite.
>
> I too have noticed that when I create a new file there is often no
> highlighting and I usually have to close and reopen it.  Thanks for the
> tip.
>

In Windows, when you start a file dfrom scratch, the editor doesn't know 
what type of file you are creating (.pov, .ini, etc) so there is no syntax 
highlighting. Once you have saved the fiel it highlights it according tho 
the file type.


-- 
-Nekar Xenos
"The truth is out there"

--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 491 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!


Post a reply to this message

From: Sherry Shaw
Subject: Re: SDL Editor Problems
Date: 29 Mar 2007 08:15:52
Message: <460bbc08@news.povray.org>
Nekar wrote:

>In Windows, when you start a file dfrom scratch, the editor doesn't know 
>what type of file you are creating (.pov, .ini, etc) so there is no syntax 
>highlighting. Once you have saved the fiel it highlights it according tho 
>the file type.
>
>  
>

When you save a new file with "Save As," you get color-coding; when you 
save it just with "Save," you don't.  So, the first time you save a new 
file, use "Save As."

--Sherry Shaw

-- 
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}//                                   TenMoons


Post a reply to this message

From: Zeger Knaepen
Subject: Re: SDL Editor Problems
Date: 29 Mar 2007 17:43:26
Message: <460c410e$1@news.povray.org>
"Kirk Andrews" <kir### [at] hotmailcom> wrote in message
news:web.460a68652a248c212577d2d70@news.povray.org...
> On the other, if I type too fast in the editor, it will freeze for about
> five seconds (even other applications running at the time are affected),
> and then the text will appear.  It's not a slow computer, and I had POV on
> it before and it didn't do that.

sounds very familiar.  Can't remember how I fixed it though, but I think someone
here helped me, so maybe I can search for it...

been searching for some hours now, but I can't find it :(

sorry, can't help you apparently, but I'm quite sure in my case it was a problem
with a setting, somewhere

cu!
--
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

From: Alain
Subject: Re: SDL Editor Problems
Date: 29 Mar 2007 18:00:23
Message: <460c4507$1@news.povray.org>
Kirk Andrews nous apporta ses lumieres en ce 28-03-2007 09:07:
> I have two computers on which I use POV.

> On the first, I can't consistently get the color-coding.  Sometimes my
> scene-description files are color-coded, and other times not.

> On the other, if I type too fast in the editor, it will freeze for about
> five seconds (even other applications running at the time are affected),
> and then the text will appear.  It's not a slow computer, and I had POV on
> it before and it didn't do that.

> I doubt this is a bug with the program--I'm figuring that I've got some
> setting set wrong.  Anybody know what's wrong?
The sporadic freezing in windows if often caused by threads conflicts. Most of 
the time, it's thread A that have to wait for thread B to stop, whitch in turn 
is waiting for thread A to end or release some shared resource.


-- 
Alain
-------------------------------------------------
Wanna be lonely? Get married.


Post a reply to this message

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