Andre Poenitz wrote:

> On Tue, Nov 18, 2003 at 09:19:16AM +0100, Alfredo Braunstein wrote:
>> - shouldn't these be handled by the BufferView?
> 
> Maybe. I am not sure, though.
> 
>> As opposed to right/left, they (should/used to) ignore the document
>> structure.
> 
> Getting up/down (sort of) right was _the_ problem when glueing the
> mathed shards together. It currently is some mixture based on inset
> nesting and setting by coordinate. As the outer world is a bit simpler
> I'd expect we could get away with a pure nesting based solution.
> 
>> Right now they enter in insets ignoring it, but exit insets losing the x
>> coordinate (by some dispatchresult flag I presume).
> 
> The target x is BufferView::target_x_. Maybe its not updated often
> enough...

Mmm... but we don't use x_target_ at all IIUC. We simply return with
DISPATCHED_RIGHT/LEFT when exiting and inset.
This is why I think that we should handle it directly in the BufferView.

[I think that the problem with target_x_ is that it is updated *too much*,
and thus it is completely in-sync with the cursor (and thus useless). I'll
have a look at it.]

Alfredo


Reply via email to