Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-28 Thread Richard Heck
On 05/27/2012 03:04 PM, Ronen Abravanel wrote: BTW, can I get privileges to open track-tickets? You should have such permission once you're logged in. rh (username: ronen) On Sat, May 26, 2012 at 5:24 PM, Ronen Abravanel ron...@gmail.com mailto:ron...@gmail.com wrote: Patch for

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-28 Thread Richard Heck
On 05/27/2012 03:04 PM, Ronen Abravanel wrote: BTW, can I get privileges to open track-tickets? You should have such permission once you're logged in. rh (username: ronen) On Sat, May 26, 2012 at 5:24 PM, Ronen Abravanel > wrote: Patch for

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-27 Thread Ronen Abravanel
BTW, can I get privileges to open track-tickets? (username: ronen) On Sat, May 26, 2012 at 5:24 PM, Ronen Abravanel ron...@gmail.com wrote: Patch for LyXAction.cpp attached. (i also added example for inserting graphics using inset-inset On Fri, May 25, 2012 at 3:42 PM, Jean-Marc Lasgouttes

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-27 Thread Ronen Abravanel
BTW, can I get privileges to open track-tickets? (username: ronen) On Sat, May 26, 2012 at 5:24 PM, Ronen Abravanel wrote: > Patch for LyXAction.cpp attached. (i also added example for inserting > graphics using inset-inset > > > On Fri, May 25, 2012 at 3:42 PM, Jean-Marc

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-26 Thread Ronen Abravanel
Patch for LyXAction.cpp attached. (i also added example for inserting graphics using inset-inset On Fri, May 25, 2012 at 3:42 PM, Jean-Marc Lasgouttes lasgout...@lyx.orgwrote: Le 25/05/2012 13:21, Ronen Abravanel a écrit : I added an optional set argument to LFUN_LANGUAGE and fixed the menu

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-26 Thread Ronen Abravanel
Patch for LyXAction.cpp attached. (i also added example for inserting graphics using inset-inset On Fri, May 25, 2012 at 3:42 PM, Jean-Marc Lasgouttes wrote: > Le 25/05/2012 13:21, Ronen Abravanel a écrit : > > I added an optional "set" argument to LFUN_LANGUAGE and fixed

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-25 Thread Ronen Abravanel
I added an optional set argument to LFUN_LANGUAGE and fixed the menu entery. Anythhing else? Should I fix the LFUN documentation? On Wed, May 23, 2012 at 11:37 PM, Stephan Witt st.w...@gmx.net wrote: Currently I'm really short on time. I'd vote for keeping the traditional behavior and add

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-25 Thread Jean-Marc Lasgouttes
Le 25/05/2012 13:21, Ronen Abravanel a écrit : I added an optional set argument to LFUN_LANGUAGE and fixed the menu entery. Anythhing else? Should I fix the LFUN documentation? Good. I would handle the case where no language is given to reset to default language (this is what is done with

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-25 Thread Ronen Abravanel
I added an optional "set" argument to LFUN_LANGUAGE and fixed the menu entery. Anythhing else? Should I fix the LFUN documentation? On Wed, May 23, 2012 at 11:37 PM, Stephan Witt wrote: > Currently I'm really short on time. > > I'd vote for keeping the "traditional" behavior

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-25 Thread Jean-Marc Lasgouttes
Le 25/05/2012 13:21, Ronen Abravanel a écrit : I added an optional "set" argument to LFUN_LANGUAGE and fixed the menu entery. Anythhing else? Should I fix the LFUN documentation? Good. I would handle the case where no language is given to reset to default language (this is what is done with

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-23 Thread Ronen Abravanel
So, which one of the suggestions should I implement? On Mon, May 7, 2012 at 1:39 PM, Ronen Abravanel ron...@gmail.com wrote: If there are only few such commands, the 1st options seems best. If there are many, the last.. Ronen On Wed, May 2, 2012 at 11:58 AM, Jean-Marc Lasgouttes

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-23 Thread Stephan Witt
Currently I'm really short on time. I'd vote for keeping the traditional behavior and add the optional argument set for internal API use. This has to be used by the context menu code. Stephan Am 23.05.2012 um 20:59 schrieb Ronen Abravanel: So, which one of the suggestions should I implement?

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-23 Thread Ronen Abravanel
So, which one of the suggestions should I implement? On Mon, May 7, 2012 at 1:39 PM, Ronen Abravanel wrote: > If there are only few such commands, the 1st options seems best. > If there are many, the last.. > > Ronen > > > On Wed, May 2, 2012 at 11:58 AM, Jean-Marc Lasgouttes

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-23 Thread Stephan Witt
Currently I'm really short on time. I'd vote for keeping the "traditional" behavior and add the optional argument "set" for internal API use. This has to be used by the context menu code. Stephan Am 23.05.2012 um 20:59 schrieb Ronen Abravanel: > So, which one of the suggestions should I

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-07 Thread Ronen Abravanel
If there are only few such commands, the 1st options seems best. If there are many, the last.. Ronen On Wed, May 2, 2012 at 11:58 AM, Jean-Marc Lasgouttes lasgout...@lyx.orgwrote: Le 29/04/2012 14:13, Vincent van Ravesteijn a écrit : I think it is a bug. I would vote for disabling the LFUN

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-07 Thread Ronen Abravanel
If there are only few such commands, the 1st options seems best. If there are many, the last.. Ronen On Wed, May 2, 2012 at 11:58 AM, Jean-Marc Lasgouttes wrote: > Le 29/04/2012 14:13, Vincent van Ravesteijn a écrit : > > I think it is a bug. I would vote for disabling the

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-02 Thread Jean-Marc Lasgouttes
Le 29/04/2012 14:13, Vincent van Ravesteijn a écrit : I think it is a bug. I would vote for disabling the LFUN when the languages are the same. This will make it possible for the reporter to define: command-alternatives language hebrew; language english to toggle. I especially object to

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-02 Thread Jean-Marc Lasgouttes
Le 29/04/2012 14:13, Vincent van Ravesteijn a écrit : I think it is a bug. I would vote for disabling the LFUN when the languages are the same. This will make it possible for the reporter to define: "command-alternatives language hebrew; language english" to toggle. I especially object to

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Stephan Witt
Am 27.04.2012 um 19:10 schrieb Stephan Witt: Am 27.04.2012 um 17:33 schrieb Ronen Abravanel: And a patch that perform my suggestion is attachted. Ronen Abravanel On Fri, Apr 27, 2012 at 6:04 PM, Ronen Abravanel ron...@gmail.com wrote: It seems the change was done in order to fix:

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Vincent van Ravesteijn
Op 29-4-2012 11:29, Stephan Witt schreef: This patch restores the font toggle feature if there is no selection. I looked into this and it is that way: Given one invokes the LFUN_LANGUAGE with a value different from current one at current position. Then the language is changed to the new value.

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Stephan Witt
Am 29.04.2012 um 14:13 schrieb Vincent van Ravesteijn: Op 29-4-2012 11:29, Stephan Witt schreef: This patch restores the font toggle feature if there is no selection. I looked into this and it is that way: Given one invokes the LFUN_LANGUAGE with a value different from current one at

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Ronen Abravanel
Presumably, the orginal (prior to 2.02) behavior is a bug. But it's very usable bug. Specifically, all the how to use LyX in Hebrew manuals on the Internet (and there are many of these) use it, and will have to change. So, it will make sense to use the toggle-method, but it will annoy many

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Jean-Marc Lasgouttes
Le 29/04/12 16:55, Ronen Abravanel a écrit : Presumably, the orginal (prior to 2.02) behavior is a bug. But it's very usable bug. Specifically, all the how to use LyX in Hebrew manuals on the Internet (and there are many of these) use it, and will have to change. So, it will make sense to use

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Ronen Abravanel
This will also require many instructions/ definition change, but it will be simpler change. Ronen On Sun, Apr 29, 2012 at 6:02 PM, Jean-Marc Lasgouttes lasgout...@lyx.orgwrote: Le 29/04/12 16:55, Ronen Abravanel a écrit : Presumably, the orginal (prior to 2.02) behavior is a bug. But it's

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Stephan Witt
Am 27.04.2012 um 19:10 schrieb Stephan Witt: > Am 27.04.2012 um 17:33 schrieb Ronen Abravanel: > >> And a patch that perform my suggestion is attachted. >> >> Ronen Abravanel >> >> >> >> On Fri, Apr 27, 2012 at 6:04 PM, Ronen Abravanel wrote: >> It seems the change was

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Vincent van Ravesteijn
Op 29-4-2012 11:29, Stephan Witt schreef: This patch restores the font toggle feature if there is no selection. I looked into this and it is that way: Given one invokes the LFUN_LANGUAGE with a value different from current one at current position. Then the language is changed to the new value.

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Stephan Witt
Am 29.04.2012 um 14:13 schrieb Vincent van Ravesteijn: > Op 29-4-2012 11:29, Stephan Witt schreef: >> This patch restores the font toggle feature if there is no selection. >> I looked into this and it is that way: >> >> Given one invokes the LFUN_LANGUAGE with a value different from current one

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Ronen Abravanel
Presumably, the "orginal" (prior to 2.02) behavior is a bug. But it's very usable bug. Specifically, all the "how to use LyX in Hebrew" manuals on the Internet (and there are many of these) use it, and will have to change. So, it will make sense to use the toggle-method, but it will annoy many

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Jean-Marc Lasgouttes
Le 29/04/12 16:55, Ronen Abravanel a écrit : Presumably, the "orginal" (prior to 2.02) behavior is a bug. But it's very usable bug. Specifically, all the "how to use LyX in Hebrew" manuals on the Internet (and there are many of these) use it, and will have to change. So, it will make sense to

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-29 Thread Ronen Abravanel
This will also require many instructions/ definition change, but it will be simpler change. Ronen On Sun, Apr 29, 2012 at 6:02 PM, Jean-Marc Lasgouttes wrote: > Le 29/04/12 16:55, Ronen Abravanel a écrit : > > Presumably, the "orginal" (prior to 2.02) behavior is a bug.

annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
Good morning, I'm using LyX for quite a while for writing bi-lingual documents, in both Hebrew and English. In order to write such documents, I define one language in documents-settings, and then, created a key-binding to language hebrew [or, language english], and then invoke the shortcut in

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
It seems the change was done in order to fix: http://www.lyx.org/trac/ticket/7778 possible solution which will enbale to toggle languages and keep the bug fixed: If we can disable switching into corrent language, we can use LFUN_COMMAND_ALTERNATIVES. Somthing like command-alternatives

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
And a patch that perform my suggestion is attachted. Ronen Abravanel On Fri, Apr 27, 2012 at 6:04 PM, Ronen Abravanel ron...@gmail.com wrote: It seems the change was done in order to fix: http://www.lyx.org/trac/ticket/7778 possible solution which will enbale to toggle languages and keep

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Stephan Witt
Am 27.04.2012 um 17:33 schrieb Ronen Abravanel: And a patch that perform my suggestion is attachted. Ronen Abravanel On Fri, Apr 27, 2012 at 6:04 PM, Ronen Abravanel ron...@gmail.com wrote: It seems the change was done in order to fix: http://www.lyx.org/trac/ticket/7778 Yes.

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
Even better! On Fri, Apr 27, 2012 at 8:10 PM, Stephan Witt st.w...@gmx.net wrote: Am 27.04.2012 um 17:33 schrieb Ronen Abravanel: And a patch that perform my suggestion is attachted. Ronen Abravanel On Fri, Apr 27, 2012 at 6:04 PM, Ronen Abravanel ron...@gmail.com wrote: It

annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
Good morning, I'm using LyX for quite a while for writing bi-lingual documents, in both Hebrew and English. In order to write such documents, I define one language in documents->settings, and then, created a key-binding to "language hebrew" [or, "language english"], and then invoke the shortcut

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
It seems the change was done in order to fix: http://www.lyx.org/trac/ticket/7778 possible solution which will enbale to toggle languages and keep the bug fixed: If we can disable switching into corrent language, we can use LFUN_COMMAND_ALTERNATIVES. Somthing like command-alternatives

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
And a patch that perform my suggestion is attachted. Ronen Abravanel On Fri, Apr 27, 2012 at 6:04 PM, Ronen Abravanel wrote: > It seems the change was done in order to fix: > > http://www.lyx.org/trac/ticket/7778 > > possible solution which will enbale to toggle languages

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Stephan Witt
Am 27.04.2012 um 17:33 schrieb Ronen Abravanel: > And a patch that perform my suggestion is attachted. > > Ronen Abravanel > > > > On Fri, Apr 27, 2012 at 6:04 PM, Ronen Abravanel wrote: > It seems the change was done in order to fix: > >

Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-04-27 Thread Ronen Abravanel
Even better! On Fri, Apr 27, 2012 at 8:10 PM, Stephan Witt wrote: > Am 27.04.2012 um 17:33 schrieb Ronen Abravanel: > > > And a patch that perform my suggestion is attachted. > > > > Ronen Abravanel > > > > > > > > On Fri, Apr 27, 2012 at 6:04 PM, Ronen Abravanel