On Mon, Nov 17, 2003 at 07:16:15PM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > not really needed. > > > > What's the current state of coordinate handling btw? > > My selection2.diff patch makes passing mouse events to the main LyXText in > coordinates relatives to the LyXText itself (like for insets right now), > i.e. no more as screen coordinates. This in particular means absolute doc > coordinates for the main LyXText. > > The rest is unchanged I think (i.e. insets keep their coords. as relative to > screen)
I noticed some regression that might be related to the CursorItem::cached_y_ change. Simply move through the attached doc with <Right> to see what I mean. The interesting point comes when leaving the inner inset. And then we should make our minds up concerning tabulars. Is this a single inset with multiple cells (that's the 'mathed way') or is it two levels of insets (that's more or less what's implemented right now). In the light of IU and simplicity I lean towards the first option, but I am not sure. Behaviour would probably change then (i.e. multi-cell selection in the mathed way, not the current tabular way. I don't see that as disadvantage, but then I am not impartial...) Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
#LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/ \lyxformat 225 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 1 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes 0 \end_header \begin_layout Standard s \end_layout \begin_layout Standard \begin_inset Boxed position "t" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 width "10cm" special "none" height "1in" height_special "totalheight" collapsed false \begin_layout Standard ccds cs adc asd ca sdc as dc asd cas dc asd c asd csd c dasddasdc \end_layout \begin_layout Standard \begin_inset ovalbox position "t" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 width "4cm" special "none" height "1in" height_special "totalheight" collapsed false \begin_layout Standard ascd \end_layout \end_inset scd \end_layout \end_inset \end_layout \begin_layout Standard c \end_layout \end_document