Okay, fixed both those issues:

https://github.com/slavapestov/factor/commit/e0bcd7423b7968cee3ee975e969f3e0e7b60ea27

https://github.com/slavapestov/factor/commit/d5c5a1389d60e9a5981d669c26d958f315039a8e

Now it works, but working means it doesn't take up any visual space with no
children.





On Sun, Sep 20, 2015 at 9:42 AM, John Benediktsson <mrj...@gmail.com> wrote:

> Looks like wrap-words doesn't work with an empty sequence.
>
> And if you "fix" that, paragraphs don't work because they can't calculate
> their dimensions from an empty list of children.
>
> So, perhaps two bugs to fix.
>
>
> On Sun, Sep 20, 2015 at 4:08 AM, Georg Simon <georg.si...@auge.de> wrote:
>
>>     IN: scratchpad 500 <paragraph> <gadget> add-gadget gadget.
>>
>> works ( shows an invisible gadget ). But
>>
>>     IN: scratchpad 500 <paragraph> gadget.
>>
>> gives the error "Sequence index out of bounds".
>>
>> Is that a bug or a feature ?
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>>
>
>
------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to