Re: [gedit-list] Documentation plugin feature request



2012/3/9 Jono <jono foodnotblogs com>
Sounds good. The code-assistance plugin looks like what I was going to
do, though it was going to be in Python.

I'll see about adding the feature to code-assistance though. Looks
like its time for me to learn some Vala.

There are a lot of C XML libraries. Perhaps I will use libxml from
Gnome, unless anyone has a better suggestion.

I quickly looked into this before. Vala has bindings for libxml but unfortunately not yet for the relaxng part of libxml. It should not be difficult to add those bindings, but you will need to write a .vapi file (or extend the original one). I can help you with this if you want.
 
 

Meanwhile, if you need it, here is my plugin for non-real-time validation:
https://github.com/jonocodes/gedit-xmltools



On Wed, Mar 7, 2012 at 12:21 PM, Jesse van den Kieboom
<jessevdk gnome org> wrote:
> 2012/3/7 Jono <jono foodnotblogs com>
>>
>> Sounds like a fun project.
>>
>> I have started by porting the existing xmltools plugin to work with
>> Gedit 3 and I am adding RelaxNG support to it. It uses lxml.etree.
>>
>> Once I get things working I will take a look at adding some realtimeness.
>
>
> As discussed on IRC, it would maybe be nice to write an xml backend for the
> code assistance plugin (https://github.com/jessevdk/gedit-code-assistance).
> It already has all the infrastructure ready for this kind of thing. You only
> need to implement a backend subclass for xml and emit diagnostics.
>
>
>>
>> _______________________________________________
>> gedit-list mailing list
>> gedit-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gedit-list
>
>
_______________________________________________
gedit-list mailing list
gedit-list gnome org
http://mail.gnome.org/mailman/listinfo/gedit-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]