Re: Mac-style paragraph movement

2013-05-25 Thread Stephan Witt
Am 24.05.2013 um 21:07 schrieb Jean-Marc Lasgouttes : > Le 23/05/13 23:51, Stephan Witt a écrit : >> 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. > > Let's apply it, then. I

Re: Mac-style paragraph movement

2013-05-24 Thread Jean-Marc Lasgouttes
Le 23/05/13 23:51, Stephan Witt a écrit : 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. Let's apply it, then. JMarc

Re: Mac-style paragraph movement

2013-05-23 Thread Stephan Witt
Am 23.05.2013 um 23:00 schrieb Jean-Marc Lasgouttes : > 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

Re: Mac-style paragraph movement

2013-05-23 Thread Jean-Marc Lasgouttes
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

Re: Mac-style paragraph movement

2013-05-23 Thread BH
On Thu, May 23, 2013 at 1:47 PM, Jean-Marc Lasgouttes wrote: > Le 23/05/2013 18:11, BH a écrit : > > Yes. Here's a third patch. >> > > A couple of things to fix before committing: > > 1/ you should handle paragraph-up too. > Not sure what you have in mind here: paragraph-up on Mac works just lik

Re: Mac-style paragraph movement

2013-05-23 Thread Jean-Marc Lasgouttes
Le 23/05/2013 18:11, BH a écrit : Yes. Here's a third patch. A couple of things to fix before committing: 1/ you should handle paragraph-up too. 2/ I would replace getPar(cur.pit()).size() with something like cur.lastpos(). Of course, this does not really work for the other instance, but I

Re: Mac-style paragraph movement

2013-05-23 Thread Richard Heck
On 05/23/2013 12:28 PM, Stephan Witt wrote: Am 23.05.2013 um 18:11 schrieb BH : On Thu, May 23, 2013 at 11:52 AM, Stephan Witt wrote: Ok, I've tested it and it works. The development/MacOSX/lyxrc.dist.in file should be changed too, shouldn't it? Stephan Yes. Here's a third patch. BH Thank

Re: Mac-style paragraph movement

2013-05-23 Thread Stephan Witt
Am 23.05.2013 um 18:11 schrieb BH : > On Thu, May 23, 2013 at 11:52 AM, Stephan Witt wrote: > Ok, I've tested it and it works. > > The development/MacOSX/lyxrc.dist.in file should be changed too, shouldn't it? > > Stephan > > Yes. Here's a third patch. > > BH Thank you. This works for me (ou

Re: Mac-style paragraph movement

2013-05-23 Thread BH
On Thu, May 23, 2013 at 11:52 AM, Stephan Witt wrote: > Ok, I've tested it and it works. > > The development/MacOSX/lyxrc.dist.in file should be changed too, > shouldn't it? > > Stephan Yes. Here's a third patch. BH mac-cursor3.diff Description: Binary data

Re: Mac-style paragraph movement

2013-05-23 Thread Stephan Witt
Am 23.05.2013 um 17:35 schrieb BH : > You mean like this? (New diff attached.) > > BH > > > On Thu, May 23, 2013 at 11:17 AM, Richard Heck wrote: > On 05/23/2013 11:11 AM, BH wrote: > This has bothered me for a while (since 2007! -- > http://www.mail-archive.com/lyx-users@lists.lyx.org/msg600

Re: Mac-style paragraph movement

2013-05-23 Thread BH
You mean like this? (New diff attached.) BH On Thu, May 23, 2013 at 11:17 AM, Richard Heck wrote: > On 05/23/2013 11:11 AM, BH wrote: > >> This has bothered me for a while (since 2007! -- >> http://www.mail-archive.com/**lyx-us...@lists.lyx.org/**msg60084.html

Re: Mac-style paragraph movement

2013-05-23 Thread Richard Heck
On 05/23/2013 11:11 AM, BH wrote: This has bothered me for a while (since 2007! -- http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60084.html), so I finally decided to do something about it On Mac, moving down a paragraph should place the cursor at the end of the current paragraph

Mac-style paragraph movement

2013-05-23 Thread BH
This has bothered me for a while (since 2007! -- http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60084.html), so I finally decided to do something about it On Mac, moving down a paragraph should place the cursor at the end of the current paragraph (unless it's already there, in which ca