Alfredo Braunstein wrote: > I've removed all inset-dependent fitCursor functions, > and put toghether all fitcursor-related functions in screen.C in > only one, putting the smart tall row handling there (with some code > simplification and nice variable names). > > Now the same routine is used for mathed and normal cursors, and this > is achieved by adding a LCursor::getDim(int & asc, int & desc), that > handles by itself cursors in LyXTexts and eventually asks the inset > (in fact, only for math insets). > All the cmputations in fitCursor are done with this dimension. > > Comments (and/or testing vs. 1.3.x) greatly appreciated.
No time to test, but this looks excellent to me. Wht the FIXME? Index: mathed/formulabase.h + /// FIXME + virtual void getCursorDim(BufferView *, int &, int &) const; -- Angus
