Re: [Geany-devel] Markers

2012-03-12 Thread Dimitar Zhekov
On Mon, 12 Mar 2012 09:59:45 +1100 Lex Trotman ele...@gmail.com wrote: Maybe you should contact Matthew, during a conversation we had on IRC he revealed a prototype for manageing all such limited resources, not just markers, in a consistent manner. This concerns all plugin developers.

Re: [Geany-devel] Markers

2012-03-11 Thread Frank Lanitz
Am 11.03.2012 07:16, schrieb Alexander Petukhov: So all we need is the initialisation, and probably a common search routine for the convenience of plugins (although that isn't absolutely needed). The smaller the patch the more likely someone has time to test it and commit it. I would

Re: [Geany-devel] Markers

2012-03-11 Thread Dimitar Zhekov
On Sun, 11 Mar 2012 12:33:07 +1100 Lex Trotman ele...@gmail.com wrote: I don't think much is needed: 1. Scintilla already provides the special symbol SC_MARK_AVAILABLE to indicate that the mark is available. I already replied to this [1]. Unless we want each plugin to allocate it's markers

Re: [Geany-devel] Markers

2012-03-11 Thread Lex Trotman
On 12 March 2012 06:25, Dimitar Zhekov dimitar.zhe...@gmail.com wrote: On Sun, 11 Mar 2012 12:33:07 +1100 Lex Trotman ele...@gmail.com wrote: I don't think much is needed: 1. Scintilla already provides the special symbol SC_MARK_AVAILABLE to indicate that the mark is available. I already

Re: [Geany-devel] Markers

2012-03-10 Thread Dimitar Zhekov
On Sat, 10 Mar 2012 17:43:16 +0400 Alexander Petukhov de...@apetukhov.ru wrote: utils_ui_get_marker(), utils_ui_free_marker(). Is it going with these new functions? Nothing is going on, the thread died. I started with SF bug about markers and also came up to that having such

Re: [Geany-devel] Markers

2012-03-10 Thread Alexander Petukhov
So all we need is the initialisation, and probably a common search routine for the convenience of plugins (although that isn't absolutely needed). The smaller the patch the more likely someone has time to test it and commit it. I would vote for having utility functions that manages a list

Re: [Geany-devel] Markers

2012-03-10 Thread Lex Trotman
On 11 March 2012 17:16, Alexander Petukhov de...@apetukhov.ru wrote: So all we need is the initialisation, and probably a common search routine for the convenience of plugins (although that isn't absolutely needed).  The smaller the patch the more likely someone has time to test it and commit

Re: [Geany-devel] Markers

2012-02-27 Thread Dimitar Zhekov
On Mon, 27 Feb 2012 08:23:41 +1100 Lex Trotman ele...@gmail.com wrote: [...] My personal preference would be some shared static function that any plugin using markers could access. A simple ui_utils function to find and return the first available marker based on SC_MARK_AVAILABLE would

Re: [Geany-devel] Markers

2012-02-26 Thread Dimitar Zhekov
On Sun, 26 Feb 2012 13:08:14 + WILLIAM FRASER william.fra...@virgin.net wrote: There is a problem as I understand it with checking for the SC_MARK_AVAILABLE marker to see if a marker is available... Markers seem by default to be set to 0 (SC_MARK_CIRCLE) by scintilla. By default, all 32