POV-Ray : Newsgroups : povray.general : Wishlist : Re: Wishlist Server Time
29 Jul 2024 10:20:37 EDT (-0400)
  Re: Wishlist  
From: Philippe Lhoste
Date: 7 Aug 2002 04:18:42
Message: <3d50d7e2$1@news.povray.org>
"Chris Cason" <new### [at] deletethispovrayorg> wrote:
> FYI ... http://www.povray.org/download/features/wishlist.php

I see that most of the current content of the wishlist is oriented toward
the editor. Perhaps because you are the maintener of this piece of code :-)

I don't know how much you are want to keep the CodeMax component. I
understand you did a lot of work on it to fit it to POV-Ray, and I suppose
it would not be a small task to replace it by another component.

But I also saw in the comments that you may do a major rewrite of the
Windows code...

So, you may want to take a look at the Scintilla <http://www.scintilla.org>
code source editor component.
It is cross-platform (Windows and GTK+), powerful yet still light (with all
lexers, the DLL weights less than 230KB). It has a very liberal licence,
similar to the Python or BSD one.

It mimics most of the Visual Studio features, including most of the keyboard
shortcuts.
It features syntax highlighting, of course, but also error indicators (like
the MS Word spell checking marks), code completion and call tips. It has a
primitive regular expression support, but can be easily replaced by a more
powerful one.

I will soon write a lexer for the POV-Ray syntax, supporting nested
comments. Due to constraints to the lexing method, the nesting level will be
limited. I feel that 3 levels is enough for most needs (commenting out a
zone with comments, and commenting out again this zone) but if you think it
needs more, I can go up to, say, 8 levels.

Multi-File search and replace is out of the scope of the source code editor
component. However, I started to write one (without regex support, but
fast), I can resume work on it if needed (lot of projects, little time :-)

Note: I am not the author of Scintilla, but I regularly contribute to this
project, and the related SciTE text editor.

If time allows, I would like to try and replace CodeMax by Scintilla in the
3.5 code, but I am not sure if this code is here to persist or if it would
be a waste of time to hack it...

Regards.

-- #=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=# --
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/


Post a reply to this message

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