Re: Moving around

2017-01-03 Thread Guillaume Munch
Le 28/05/2016 à 17:00, Jean-Marc Lasgouttes a écrit : Le 27/05/16 à 19:44, Mario D a écrit : What I can't get used to is what happens when I am inside a (big) formula. Namely, if I use ctrl+arrow I go to to the end (or beginning, depending the arrow) of the formula, which is the same that I get

Re: Moving around

2016-06-08 Thread Guillaume Munch
Le 06/06/2016 09:37, Mario D a écrit : 2016-05-28 17:39 GMT+02:00 Guillaume Munch >: I agree ctrl+arrows could do better. The attached patch implements your suggestion. I guess that I need to apply your patch to the source and the recompile it,

Re: Moving around

2016-06-06 Thread Mario D
2016-05-28 17:39 GMT+02:00 Guillaume Munch : > I agree ctrl+arrows could do better. The attached patch implements your > suggestion. > > I guess that I need to apply your patch to the source and the recompile it, don't I? Because I am not very keen on recompiling lyx: I would like

Re: Fwd: Moving around

2016-05-30 Thread Mario D
Paul, I realize that defining a model for movements/selections inside mathematical environment is complex and there could be different more or less equivalently good solutions. This is job for the developers, if they consider this worth of. Maybe between the many different solutions they could

Re: Fwd: Moving around

2016-05-30 Thread Guillaume Munch
Le 30/05/2016 20:57, Paul A. Rubin a écrit : Movement: left/right arrow move one character (where entering or exiting an inset, such as going into/out of a subscript, counts as a "character" for movement purposes); ctrl-left/right jumps the adjacent "grouping", where "grouping" is the

Re: Fwd: Moving around

2016-05-30 Thread Paul A . Rubin
Mario D gmail.com> writes: > > > > > > > Perhaps you can repost your example, between pre and /pre tags? > Paul > > Paul, sorry you couldn't see the proper formatting. I repost the formula with the tags inside the formula, so it should be clear A \frac{1}{2} B  + C \left(1+1\right) D = 

Fwd: Moving around

2016-05-30 Thread Mario D
Perhaps you can repost your example, between pre and /pre tags? > > Paul > > Paul, sorry you couldn't see the proper formatting. I repost the formula with the tags inside the formula, so it should be clear A \frac{1}{2} B + C \left(1+1\right) D = 2.5 E I can say that I have exactly the same

Re: Moving around

2016-05-28 Thread Paul A . Rubin
Mario, Mario D gmail.com> writes: > Paul, > > surely I do not demand to lyx to recognize addends in a formula like "y = x + 2z". Maybe I can explain better myself with an example, so please let me write a formula with a few markers for the cursor position. > > Consider  \frac{1}{2}  + 

Re: Moving around

2016-05-28 Thread Jean-Marc Lasgouttes
Le 28/05/16 à 18:35, Guillaume Munch a écrit : But you have a point with shift+end providing the same functionality as shift+ctrl+right, I had never tried it. I did not check that it does that, but it should. JMarc

Re: Moving around

2016-05-28 Thread Guillaume Munch
Le 28/05/2016 16:56, Jean-Marc Lasgouttes a écrit : As for ctrl+shift+arrows, I find them useful to select entire insets quickly. Why should they be better than Ctrl-A or Shift-end? I really think that the shifted and non shifted functions should coincide. To clarify what I mean: Mario's

Re: Moving around

2016-05-28 Thread Jean-Marc Lasgouttes
[actually, I did not read completely Mario's second message. I should have before replying] Le 28/05/16 à 17:39, Guillaume Munch a écrit : I agree ctrl+arrows could do better. The attached patch implements your suggestion. Pro: I find this behaviour more useful. It could be made better by

Re: Moving around

2016-05-28 Thread Guillaume Munch
Hi Mario, Le 28/05/2016 10:36, Mario D a écrit : ... Consider \frac{1}{2} + \left(1+1\right) = 2.5 ^ ^ ^^ ^ A B C D E Wherever I am, if I hit ctrl+right I am driven to E. What I would like is that if

Re: Moving around

2016-05-28 Thread Jean-Marc Lasgouttes
Le 27/05/16 à 19:44, Mario D a écrit : What I can't get used to is what happens when I am inside a (big) formula. Namely, if I use ctrl+arrow I go to to the end (or beginning, depending the arrow) of the formula, which is the same that I get using the Home/End keys. On the contrary, with

Re: Moving around

2016-05-28 Thread Mario D
> > I think the key issue is that LyX understands insets (or perhaps I should > call them subenvironments?) -- things that are argument to LaTeX functions. > So if you create a fraction, which translates to \frac{#1}{#2} with the > arguments substituted, LyX knows what constitutes the numerator

Re: Moving around

2016-05-27 Thread Paul A . Rubin
Mario D gmail.com> writes: > What I can't get used to is what happens when I am inside a (big) formula. Namely, if I use ctrl+arrow I go to to the end (or beginning, depending the arrow) of the formula, which is the same that I get using the Home/End keys. On the contrary, with ctrl+arrow I

Moving around

2016-05-27 Thread Mario D
Hi, when I move around in a file I have a behavior which (to me) does not seem consistent. Please let me explain. If I am inside a text portion of the file, arrows drive me to the close by character, ctrl+arrows to the close by word, shift+arrows select close by character and shift+ctrl+arrows