Re: [Factor-talk] Why is an empty paragraph not writable by gadget. ?

2015-09-22 Thread Georg Simon
Thank you. It works.


Am Sun, 20 Sep 2015 09:47:28 -0700
schrieb John Benediktsson :

> 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 
> 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 
> > wrote:
> >
> >> IN: scratchpad 500   add-gadget gadget.
> >>
> >> works ( shows an invisible gadget ). But
> >>
> >> IN: scratchpad 500  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


Re: [Factor-talk] Why is an empty paragraph not writable by gadget. ?

2015-09-20 Thread John Benediktsson
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  wrote:

> IN: scratchpad 500   add-gadget gadget.
>
> works ( shows an invisible gadget ). But
>
> IN: scratchpad 500  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


Re: [Factor-talk] Why is an empty paragraph not writable by gadget. ?

2015-09-20 Thread John Benediktsson
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  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  wrote:
>
>> IN: scratchpad 500   add-gadget gadget.
>>
>> works ( shows an invisible gadget ). But
>>
>> IN: scratchpad 500  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