Zim

Comment 7 for bug 275714

Revision history for this message
Michael Mulqueen (michael.mulqueen) wrote : Re: [Bug 275714] Re: [Request] Embedded source view to support syntax highlighting on code snippets

At the moment, Zim uses the GTK+ TextView widget. TextView widgets are
formatted with the Pango system. There isn't really an easy way to get
syntax highlighting into it. You have some choices (as previously
discussed):
* embed a GTK SourceView widget in the TextView
* convert Zim to use Webkit instead of a TextView (lots and lots of
work and it may be best to let Webkit stabilise more yet)

In conjunction with Webkit, it would probably be possible to use pygments.

Both options are a lot of work.

Regards,
Mike

On Sun, Apr 10, 2011 at 1:28 AM, Eugene Krivobokov
<email address hidden> wrote:
> Is it possible to use pygments like in Moinmoin?
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/275714
>
> Title:
>  [Request] Embedded source view to support syntax highlighting on code
>  snippets
>