[Geany-devel] Changing from scintilla to gtksourceview or scintilla over gtksourceview
denis.tomilin at xxxxx
Tue Dec 29 23:40:06 UTC 2009
>That's not to say Scintilla is inherently slower than GtkSourceView
I dunno. I hear about slow perfomance of scintilla, but, at this time, it
isn't problem and not a first problem of it.
>I think it would be an interesting idea to at least try out. like the sound
of mixing languages with GtkSourceView
>This feature has been on Scintilla's radar for quite a while, but not much
has happened with it yet.
Scintilla API documentstion and comments are pretty bad. Scintilla have many
features, but for using of its, need to be god/devil/evil of coding. Really.
I've talked with one developer, who uses scintilla for parsing of mixed
sources. He said that this feature not too hard, but need to have big
knowlege about scintilla. Yes, i don't think that this reasonable, spend
time to explore this code. Instead, we can use gtksourceview with it's
documentation and easy-to-use functionality.
>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.
Bespin - good editor for web-applications. Maybe good. But geany isn't
web-editor. Ofc, good joke)
On Tue, Dec 29, 2009 at 11:48 PM, Jason Oster <jason.oster at campnavajo.com>wrote:
> 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 +
> 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.)
> Geany-devel mailing list
> Geany-devel at uvena.de
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel