[Geany-Devel] About Malloc memory for each tab?

Lex Trotman elextr at xxxxx
Fri Oct 23 23:28:33 UTC 2015


On 24 October 2015 at 02:21, Pengfei Sun <shaotian330 at gmail.com> wrote:
> Hi Lex,
>
> I have one question about tab switch in the geany. I know the different tab
> has different doc->id. I think there is only one thread which manages all
> tabs, right?  I wonder when we switch different tabs to edit the document.
> How does geany manage or recognize different tabs? g_main_context_check will
> be called in g_main_loop_run. Whether the data structure GMainContext will
> include some information which can recognize the different tab?

Look in notebook.c

>
> Thank you very much!
>
> Best Regards,
> Pengfei


More information about the Devel mailing list