Martin Vermeer wrote: >> Ideally, the first arrow down/up should move the cursor, >> not merely close the macro. I guess that is much harder to do? > > Yes, I didn't manage that. The problem seems to be that we have to first > force a redraw/setPosCache after closing the macro, before we are > allowed to move off the current row. I don't know how to do that, if it > is at all possible.
I don't think it's worth it. In principle, IMO the correct way would be to look for the position to go *before* doing the visual change, so as to go down to the position where the user wanted to go (and incidentally saving a redraw). But I think this has to be resolved in a more general level, if any. In 1.3 pressing 'down' closes the macro *and* goes down, but pressing 'right' only closes the macro. With your patch we behave the other way around? I'd say we are not worse in terms of inconsistency ;-) Regards, Alfredo