On Monday, October 12, 2020 at 5:57:55 AM UTC-5, Edward K. Ream wrote:
>
>
> On Sun, Oct 11, 2020 at 9:20 PM Thomas Passin <[email protected]> wrote:
>
 

> I do have a problem.  It's with add_adjacent(), in class NestedSplitter.  
>> It has an inner function hunter(layout, id_).  hunter() expects to 
>> receive a layout dictionary with a key 'content'. However , when 
>> add_adjacent() is called by VR3, what gets handed to hunter() is not a 
>> dictionary but a string that appears to be a string representation that the 
>> value of the content key would normally have - at least, if the string 
>> were split(), it would look like that.  So the hunter() call fails.
>>
>
> I see this too. I'll fix it today.
>

The fix is in the layout2 branch. The corresponding PR is #1705 
<https://github.com/leo-editor/leo-editor/pull/1705>. I have walked back 
some of the changes I made to Terry's code, but the actual cause of the 
crash is mysterious. 

Please test the layout2 branch and report any problems. Unlike before, I 
have tested the code with both the VR and VR3 plugins with no apparent 
problems.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/bf296510-a7ea-4ac0-b49d-be0928d34f6co%40googlegroups.com.

Reply via email to