[Geany-Devel] Plugin development questions

2013-10-07 Thread v01d
Hi, I'm writing a simple plugin for geany (which I will call LiveDiff) which allows for having indicators inside the editor for changed/added/modified lines, which is updated as you type. The base for comparing the buffer can be either the version of the file on disk or (which I will soon attempt

Re: [Geany-Devel] Plugin development questions

2013-10-07 Thread Colomban Wendling
Hi Matias, Le 07/10/2013 12:27, v01d a écrit : Hi, I'm writing a simple plugin for geany (which I will call LiveDiff) which allows for having indicators inside the editor for changed/added/modified lines, which is updated as you type. The base for comparing the buffer can be either the

Re: [Geany-Devel] Plugin development questions

2013-10-07 Thread v01d
Hi, thanks for the response. Yes, since each editor have a separate marker handling (since it's a separate ScintillaObject), you have to re-define the markers for each document. Ok, great. Then I programmed it correctly =) I'm not quite sure right now without any testing, but couldn't you

Re: [Geany-Devel] Plugin development questions

2013-10-07 Thread Steven Blatnick
Not sure if this will help you, but I wrote a plugin to highlight anything selected and a search string using separate highlighting from the other searches and AddOn plugin. It sounds like you are putting markers in the margin, but this code may be useful to look at if you wanted to mark the

Re: [Geany-Devel] Plugin development questions

2013-10-07 Thread Thomas Martitz
Am 07.10.2013 12:27, schrieb v01d: Hi, I'm writing a simple plugin for geany (which I will call LiveDiff) which allows for having indicators inside the editor for changed/added/modified lines, which is updated as you type. The base for comparing the buffer can be either the version of the file

Re: [Geany-Devel] Plugin development questions

2013-10-07 Thread Colomban Wendling
Le 07/10/2013 22:06, Thomas Martitz a écrit : Am 07.10.2013 21:53, schrieb Thomas Martitz: [...] Regarding your other question, are you talking about the editor-notify signal? Yes, that's not really per-document, I came across this recently. The solution is to connect to sci-notify of

Re: [Geany-Devel] Plugin development questions

2013-10-07 Thread Matthew Brush
On 13-10-07 01:06 PM, Thomas Martitz wrote: Am 07.10.2013 21:53, schrieb Thomas Martitz: Am 07.10.2013 12:27, schrieb v01d: Hi, I'm writing a simple plugin for geany (which I will call LiveDiff) which allows for having indicators inside the editor for changed/added/modified lines, which is