 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Christoph Hormann wrote:
>
> fabien Henon wrote:
>
>
> In addition to what Warp wrote:
>
>
>>[...]
>>- Does your editor show you the previously opened POV-Ray files (so that
>>you can open them with a mere click) ?
>
>
> There are various add-ons for emacs allowing this in some form.
>
>
>>- Does it handle syntax hightlighting well ( I know that Pyvon does not
>>do it well either because of speed)
>
>
> Emacs does this extremely well, in addition you also have a section
> browser.
I meant with very large files. I got emacs and Pyvon to hang while
scrolling 5 Mb large files.
>
>
>>- Can you pause, then resume a render ?
>
>
> I doubt Pyvon can do this (unless you 'pause' by changing priority to
> lowest).
>
There is a pause/resume button in Pyvon.
>
>>These are all the features can I can think of for the moment. There
>>might be others.
>>
>>As I am not sure that you can answer yes to all the questions above,
>>that is why I think POV would 'deserve' a GUI on its own.
>
>
> The question is not whether it 'deserves' it but whether a proprietary GUI
> would be better to use and more powerful than a good and customizable
> editor and some additional tools. WinPOV - although being worked on for
> quite some time - is still much less powerful than a good editor. Some
> key features of Emacs for me are:
>
> - auto-indention (which is much more than WinPOV offers)
> - ability to edit all kind of text files in one editor (and each file type
> with its own syntax highlighting, navigation helps etc.)
> - auto-completition (which is syntax sensitive in emacs)
> - templates with automatically updated 'last modified' field
> - integration of tools like 'diff', 'ispell' and regular expression search
>
There is auto-indentation in Pyvon along with auto-completion (which can
be disabled).
As for the rest of the key features, I did not implement them in Pyvon
or were not implemented in WinPov.
In which case do you use 'diff', 'ispell' and RE.search ? (regular
expressions are intensively used in Pyvon for syntax highlighting)
What is the use of templates ?
Fabien
> These are just examples although you will already have a hard time
> implementing them in WinPOV or Pyvon. I have no doubt there are some
> things rather difficult to do in emacs but for this some small tools
> implementing specific features would be better than a whole new editor.
>
> Christoph
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
3EEC979D.5FB80FE6@gmx.de...
> - auto-completition (which is syntax sensitive in emacs)
Just for the record, auto-completion works in WinPov (first letters + tab)
G.
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
fabien Henon wrote:
>
> [...]
> >
> > - auto-indention (which is much more than WinPOV offers)
> > - ability to edit all kind of text files in one editor (and each file type
> > with its own syntax highlighting, navigation helps etc.)
> > - auto-completition (which is syntax sensitive in emacs)
> > - templates with automatically updated 'last modified' field
> > - integration of tools like 'diff', 'ispell' and regular expression search
> >
> There is auto-indentation in Pyvon along with auto-completion (which can
> be disabled).
As i have pointed out it's not the exisitence of such features per se,
it's how well they work. Syntax sensitive auto-completition meaning it
only tries to complete keywords which are allowed at the current position
(when you are in a 'union' and type diff<tab> you immediately get
'difference' because 'diffuse' is not allowed there)
auto-indention is much more powerful in emacs than in WinPOV (and i assume
it is not much better in Pyvon than in WinPOV) - you can automatically
indent whole blocks and closing braces and '#end' are positioned correctly
while typing as well.
> In which case do you use 'diff', 'ispell' and RE.search ? (regular
> expressions are intensively used in Pyvon for syntax highlighting)
'ispell' is of course rarely useful in POV-SDL but i use it frequently
when editing HTML and TEX. 'diff' and regular expressions search are
always handy when editing code.
> What is the use of templates ?
File skeletons that are inserted when creating new files. I use for
example:
// Persistence Of Vision Ray Tracer Scene Description File
// -------------------------------------------------------
// File: @(#)TEMPLATE.pov.tpl
// Desciption: (>>>COMMENT<<<)
// Creation Date: $ (>>>DATE<<<), (>>>TIME<<<) $
// Last modified: $ (>>>DATE<<<), (>>>TIME<<<) $
// Author: (>>>AUTHOR<<<)
//
where all the capitalized stuff gets replaced when creating the file and
the 'Last modified' line gets updated every time you save it.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Gilles Tran wrote:
> 3EEC979D.5FB80FE6@gmx.de...
>
>
>>- auto-completition (which is syntax sensitive in emacs)
>
>
> Just for the record, auto-completion works in WinPov (first letters + tab)
In Pyvon, this works as well, but if you begin typing 'cam', Pyvon will
insert 'camera {' because no other keywords begin with 'cam'.
Fabien H
>
> G.
>
> --
>
> **********************
> http://www.oyonale.com
> **********************
> - Graphic experiments
> - POV-Ray and Poser computer images
> - Posters
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
squidian wrote:
> Using KDE on one desktop I open several virtual terminals. In each
> terminal I load the file of interest with old, reliable jstar -- joe in
> WordStar mode. The alt-tab switches between the files being edited.
In KDE I'm using Kate, a nice editor with multiple windows, e.g. a list
window wich shows you all opened files and it allows you to switch from
file to file very fast. Below the main editor window there's an additional
shell window. Here you can type in chell commands or you can start POV-Ray.
The only thing I'm missing is syntax highlighting, but it's easy to
implement because it uses XML styles for the syntax definition.
Andreas
--
http://www.render-zone.com
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Andreas Kreisig killed the keyboard with:
> In KDE I'm using Kate, a nice editor with multiple windows, e.g. a list
> window wich shows you all opened files and it allows you to switch from
> file to file very fast. Below the main editor window there's an
> additional shell window. Here you can type in chell commands or you can
> start POV-Ray. The only thing I'm missing is syntax highlighting, but
> it's easy to implement because it uses XML styles for the syntax
> definition.
I made such a XML file. It's based on the C++ highlighting, and it's just
a quick solution, and not bug free. I posted it to
povray.text.scene-files, hopefully that's the right place to post it.
Have fun.
Wolfgang
--
.-. This is Linux Country.
/v\ On a quiet night, you
/( )\ can hear Windows reboot.
^^ ^^ LFS-No.: 120
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Wolfgang Landauer wrote:
> I made such a XML file. It's based on the C++ highlighting, and it's just
> a quick solution, and not bug free. I posted it to
> povray.text.scene-files, hopefully that's the right place to post it.
> Have fun.
Very nice, thank you! :)
Andreas
--
http://www.render-zone.com
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Another useful application for pov editing is quanta.
This is really a web editor, but the document tags, can be definied, so
that there can be a button for adding a sphere for instance. Also with a
bit of work on the button, a script can be added to even pop up a dialog
box with all the options for the sphere etc.
Supports projects, documentation, built in web browser etc.
Fran.
Andreas Kreisig wrote:
> Wolfgang Landauer wrote:
>
>
>>I made such a XML file. It's based on the C++ highlighting, and it's just
>>a quick solution, and not bug free. I posted it to
>>povray.text.scene-files, hopefully that's the right place to post it.
>>Have fun.
>
>
> Very nice, thank you! :)
>
> Andreas
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
fabien Henon <fabienhenon@fr> wrote:
> I meant with very large files. I got emacs and Pyvon to hang while
> scrolling 5 Mb large files.
Try hitting <Ctrl-G> a few times and emacs should give up on whatever
it's crunching and return its undivided attention to you. I'd be very
surprised if it actually hung itself, though it may seem that way on
occasion; I've worked on huge files with font-lock on, and never a
single lock-up, I only had to wait a few minutes for the initial buffer
fontification. If your computer runs slow, and you don't want to wait
for emacs to scan the entire file when it's first loaded I seem to
recall something about a mode called lazy-lock-mode which might help.
Hope that helps,
Karmix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE/FmVK8/zoYc8slRERAlS/AJ9AJP15Z210W1yET8+oitZ0lpOQsgCePQLe
7JQptkgtYWqHa6wU0BSyR8Q=
=TdqB
-----END PGP SIGNATURE-----
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Wolfgang Landauer" <w.l### [at] gmx de> wrote in message
news:200### [at] ID-35955 news dfncis de...
|
| I made such a XML file. It's based on the C++
| highlighting, and it's just a quick solution,
| and not bug free.
Is it possible to configure Kate to treat // differently? I have tried
bracketing macros with //{ and //} so that I can fold them, but it
doesn't work. Alternately, can Kate be configured to fold sections based
on tabs. I have been able to find surprisingly little information
online, and the manual for Kate doesn't mention folding at all.
It might be nice if POV had a set of symbols like {* and }* or something
similar which would be ignored when parsed, but would be recognizable to
"light" editors like Kate.
-Shay
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |