Vincent van Ravesteijn - TNW wrote:
> >> A rough try to add instant preview for ERT. LyX crashes when you
> hover 
> >> your mouse over it, but apart from that it seems to work with almost 
> >> only code copied from InsetMathHull. I guess this can go to some 
> >> InsetPreview.
> >
> >would you be opposed to have instant preview per inset basis,
> >ie one could decide whether to preview the current ERT inset
> >or not (some toggle switch through context menu...)?
> >
> 
> Of course I am not opposed.

i will add it then.

>I just wanted to show that it is very simple
> to implement (except for the crashes that is).

no debug symbols here too, but anyway looks like metrics stuff....

#0  0x083b2713 in lyx::TextMetrics::getPitNearY ()
#1  0x083b373c in lyx::TextMetrics::checkInsetHit ()
#2  0x083fc68f in lyx::BufferView::getCoveringInset ()
#3  0x083fc6f8 in lyx::BufferView::getCoveringInset ()
#4  0x0840a69b in lyx::BufferView::mouseEventDispatch ()
#5  0x0881704e in lyx::frontend::GuiWorkArea::dispatch ()


pavel

Reply via email to