#197 Add support for gtk-sourceview

closed
nobody
5
2014-01-23
2008-09-14
Anonymous
No

At the moment, gedit uses gtk-sourceview ( http://projects.gnome.org/gtksourceview/ ) themes for colour syntax highlighting - any chance of geany supporting the same feature?

Discussion

  • Nick Treleaven
    Nick Treleaven
    2008-09-15

    • status: open --> closed
     
  • Nick Treleaven
    Nick Treleaven
    2008-09-15

    Hi,
    Unfortunately there is virtually no chance that this will happen, as we use the Scintilla editing component (it would require far too much work to change).

     
  • Turbo Beholder
    Turbo Beholder
    2014-01-23

    VIM is on the wishlist already, right? GTKsourceView? Isn't bad either.
    Either way, both get their own updates. While this very feature list getsinfinite requests for custom highlighting - and obviously will receive more until Geany either pulls everything supported elsewhere or leaves both functionality and its support to some projects specifically dedicated to this.
    It gets rather redundant, IMHO.
    If syntax identification and highlighting was mostly delegated to plugins, this would allow choice, while minimizing unused overhead and package dependencies - as in, don't want this or that, don't install that plugin.

     
  • Lex Trotman
    Lex Trotman
    2014-01-23

    Neither VIM or GTKSourceView or their highlighting definitions will be supported unless the Scintilla project does so, and that isn't likely.

    It is unlikely that Geany will change its editing component from Scintilla to GTKsourceview because that would require a complete re-write of the program.

    Also Gtksourceview is much slower than Scintilla and "fast and light" is a key Geany attribute.

     
    • Matthew Brush
      Matthew Brush
      2014-01-23

      Also Gtksourceview is much slower than Scintilla [citation needed] ...

      I seriously doubt GtkSourceView is slower at anything besides lexing than Scintilla, and even that "feels" faster since it's asynchronous/incremental. Still, as mentioned it's far too much work, barring a re-write.