[LyX/master] outline-up/down: preserve cursor's position

Jean-Marc Lasgouttes lasgouttes at lyx.org
Wed Mar 11 21:16:10 UTC 2020


Le 11/03/2020 à 21:03, Scott Kostyshak a écrit :
> I'm glad I'm not the only one that originally interpretted JMarc's
> comment like that. I made a patch thinking he was hinting that I should
> combine the code to reduce duplication. See attached. Now I realize
> that's not what he was trying to say, and I'm not sure the patch
> actually makes things more clear.

Indeed my point is that the icons should do the same think as the key 
bindings. Unless one has a pretty good reason. The best way to do it is 
to have the buttons call the lfuns.

JMarc

PS: I agree that the factoring patch does not help much :)



More information about the lyx-devel mailing list