On 11/13/2013 08:04 AM, Steve Teale wrote:

Ah, all is clear now. getTagArray is a nice idea, but if you do it here then you might end up having to do similar things everywhere. Would it be feasible to provide an opAssign from GtkTextTag*. Then people could write even more naive code like

     tta[i] = sll.data;

and get the result they wanted? But you'd have to do that everywhere as well ;=(

Looks good, but i whould like:

	tta ~= sll.data;

to also work in that case.

Thank you for your excellent assistance Mike.

For now i added a toArray function to the linked list, with that the
code would be:

tta = sll.toArray!TextTag();