On Tue, Aug 26, 2003 at 10:33:20PM +0300, Martin Vermeer wrote: > Then there is checkInsetHit in text3. Yes, there could be trouble > there... if a textinset would be centered. The only insets containing > center_indent_ are insetbibtex, insetfloatlist, insetinclude, > insetindex and insettoc ... and insettheorem. Yes, I suppose we'll > have some fun by the time this is enabled :-)
We already have fun now - try it. The cursor position is broken and clicking on the row above can activate the inset. The problem is basically this: setCursorFromCoordinates always places the cursor at the start x,y position of the current cursor. I suspect we can make a good fix for this by reversing that tactic: place the cursor at the end of the previous character. This fixes such full row insets for cursor placement. Normally this will make no difference of course. It still might leave some problems with "clicking on whitespace activates the inset" though. The centering doesn't work properly either. regards john -- Khendon's Law: If the same point is made twice by the same person, the thread is over.