|
![](/i/fill.gif) |
David H. Burns schrieb:
> I don't know if this is the same "problem", but I made a new Pov-Ray
> file by simply opening
> a new blank file and pasting the contests of another file into it. All
> color coding of text was lost.
> I saved it (as .pov), edited it, ran it, exited and restarted Pov-Ray ,
> and finally turned the computer off and
> back on. The file in question still had no color coding. Then I saved it
> under a different name
> and, lo and behold, color coding of text had returned --to the renamed
> version. The original version
> still has no color coding.
Heh! That rings a bell - I guess I know what's broken (at least in your
case).
In the Recent Files list, POV-Ray not only stores the file names, but
also some additional information: Last cursor position, stuff like that.
And the syntax highlighting language.
Normally, you should be able to correct this by opening the file,
selecting "Options / Editor Window / Editor Preferences", and in the
"Language/Tabs" pane change "Language" from "<none>" back to "POV-Ray".
Alternatively, you can...
(A) edit the registry manually (ideally closing POV-Ray first of
course); you find the lists at:
HKEY_CURRENT_USER\Software\POV-Ray\v3.7\POV-Edit\Open
HKEY_CURRENT_USER\Software\POV-Ray\v3.7\POV-Edit\Recent
HKEY_CURRENT_USER\Software\POV-Ray\v3.7\POV-Edit\Older
The third-to-last field of each entry encodes the syntax highlighting
language; change this from "0" (no highlighting) to "POV-Ray" for the
offending file.
Or (B) open and close 40 different files, which should flush the
offending entry out of the lists.
Post a reply to this message
|
![](/i/fill.gif) |