Am 23.05.2013 um 23:00 schrieb Jean-Marc Lasgouttes <[email protected]>:
> Le 23/05/13 20:24, BH a écrit : >> 1/ you should handle paragraph-up too. >> >> Not sure what you have in mind here: paragraph-up on Mac works just like >> on other platforms (doesn't it?), so I intentionally didn't touch that >> part of the code. > > I stand corrected. > >> Of course, this does not really work for the other instance, but I >> suspect that the code can be simplified by computing the new cursor >> first, and calling setCursor later. >> >> >> (What "other instance"? You mean paragraph-up?) > > No, the getPar(cur.pit() + 1).size(). > > What happens when we are already at the last paragraph, BTW? It jumps to the end of this paragraph here. I've tried the mac-cursor4.diff patch. I tested it with the Users Guide and the Beamer Doc. I'm fine with it. Stephan
