Neil Hodgson wrote:
The line cache in page mode can be allocated 0 non-caret line entries if
the widget isn't allocated any visible space, which can happen when
dragging a divider with scintilla in one of its children.  Scintilla can
crash with a divide by zero error when this happens.  The patch simply
checks for this and returns a non-cache line layout if needed.

   I haven't been able to trigger this error. It looks as though this
would have been the case in previous releases, so the change will go
in after 1.68.

I agree that it's fine to leave out of 1.68. I see in w/ a scintilla & a status bar in a VPaned (this is on gtk). It sometimes crashes when the divider is moved to the top of the VPaned area. I didn't track down why the widget is called; it may be due to some delayed call made from an idle or timeout.

Thanks,

John
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to