On 12/29/2009 01:12 PM, Thomas Martitz wrote:
Am 29.12.2009 19:55, schrieb Enrico Tröger:
An interesting question could be which engine is faster but this is probably hard to test and maybe not even worth if the difference is quite small or not even noticeable.
From my POV, scintilla is pretty slow. Especially on windows where scrolling is painfully slow, but also for opening the auto-completition list (although I remember it was way faster some month ago, so it could be my system(s)). I don't know whether gtksourceview does better.
When I was building Geany on my 1.5GHz PowerBook G4, the performance was very poor. Meanwhile, the performance of Gedit was more acceptable. Komodo had similar performance issues, and that was an OS X "native" build of Scintilla. (I'm not sure if Scintilla uses the Carbon or Cocoa API on OS X; probably Carbon.)
That's not to say Scintilla is inherently slower than GtkSourceView, but there was noticeable difference back then.
Other than that, I don't see much of a point for changing. But I do think supporting both would be awesome (even if via a compile time switch only) :) Best regards.
I think it would be an interesting idea to at least try out. I like the sound of mixing languages with GtkSourceView. For example, PHP + HTML + JavaScript + CSS = clear winner. This feature has been on Scintilla's radar for quite a while, but not much has happened with it yet. (To be fair, Scintilla's PHP lexer is also its HTML lexer.)
Speaking of changing the text editor widget, maybe one day Geany will be able to use Bespin! (Just a joke. But MVS separation would allow for something as crazy as that.)