Re: [Geany-devel] Geany Plugin with Libxml

2009-08-09 Thread Enrico Tröger
On Sat, 8 Aug 2009 14:00:52 +0200, Cédric wrote: Heyho, about compiling and your friend using Ubuntu: sharing binary files (.so) between different systems and especially between different distributions usually don't work (we are not on Windows...) and it's not designed to work. Instead, compile

Re: [Geany-devel] Geany Plugin with Libxml

2009-08-09 Thread Cédric Tabin
Hi Enrico, Thanks for your advices. Since I don't develop pretty much in C, I don't know the geany-standards very well. I'll correct that :-) For formatting the current selection there are two technical problems I see : - The selected text must be a valid XML (from start node to its closing tag).

Re: [Geany-devel] Geany Plugin with Libxml

2009-08-09 Thread Enrico Tröger
On Sun, 9 Aug 2009 18:37:34 +0200, Cédric wrote: Hi Enrico, Thanks for your advices. Since I don't develop pretty much in C, I don't know the geany-standards very well. I'll correct that :-) For formatting the current selection there are two technical problems I see : - The selected text must be

Re: [Geany-devel] Geany Plugin with Libxml

2009-08-09 Thread Cédric Tabin
Hello, Yep I currently just use libxml to check if the document contains a valid XML. Then my script process the pretty-printing on a char* buffer and I do the parsing manually (but I don't need to verify XML). The idea is also to provide a simple XML PrettyPrinter script in C. So far I had never