Re: [patch] Fixing paste of mathematics in RTL paragraphs

2007-05-14 Thread Dov Feldstern
Hi! Sorry, I still can't reproduce. Could you send a minimal example file, and indicate from where to copy and where to paste? It seems to be working for me... Does the formula have to have any kind of parentheses in it, or is that not necessary? What does garbled mean --- perhaps you could s

Re: [patch] Fixing paste of mathematics in RTL paragraphs

2007-05-14 Thread Elazar Leibovich
OK, got it. Delete the previous patch and add this one. It was used on Paragraph.cpp, in the function asString. It'd show up when asking to paste things from CutAndPaste.cpp, and would reverse paranthesis. New and lighter patch. A single word and a single letter are removed. Doesn't affect regular

Re: [patch] Fixing paste of mathematics in RTL paragraphs

2007-05-13 Thread Elazar Leibovich
It's definitely not a non standard. I'll try to find the place where the paste function uses getUChar and replace it with getChar On 5/14/07, Dov Feldstern <[EMAIL PROTECTED]> wrote: Dov Feldstern wrote: > Elazar Leibovich wrote: >> The attached patch disable Paragraph::getUChar functionality o

Re: [patch] Fixing paste of mathematics in RTL paragraphs

2007-05-13 Thread Elazar Leibovich
Sorry for the delay. Problem: Be in a hebrew paragraph, start a formula with some under score (say a_1) copy it, paste it in some mathematical inset. It comes out garbled. That what it solves; On 5/13/07, Dov Feldstern <[EMAIL PROTECTED]> wrote: Elazar Leibovich wrote: > The attached patch disa

Re: [patch] Fixing paste of mathematics in RTL paragraphs

2007-05-13 Thread Dov Feldstern
Dov Feldstern wrote: Elazar Leibovich wrote: The attached patch disable Paragraph::getUChar functionality of inversing the paranthesis. I grep'ed for the function and it seems to be used only by math inset's pasting getPlainText mechanism, and indeed it has no effect on regular paranthesis. Pl

Re: [patch] Fixing paste of mathematics in RTL paragraphs

2007-05-13 Thread Jean-Marc Lasgouttes
> "Elazar" == Elazar Leibovich <[EMAIL PROTECTED]> writes: Elazar> Can anyone *PLEASE* have a look at it? It's a very crucial Elazar> bugfix, the patch has nothing to do with no RTL text, and I Elazar> really like it to be included in the beta. It's three days and Elazar> no one has made any r

Re: [patch] Fixing paste of mathematics in RTL paragraphs

2007-05-13 Thread Dov Feldstern
Elazar Leibovich wrote: The attached patch disable Paragraph::getUChar functionality of inversing the paranthesis. I grep'ed for the function and it seems to be used only by math inset's pasting getPlainText mechanism, and indeed it has no effect on regular paranthesis. Please have a look at th

Re: [patch] Fixing paste of mathematics in RTL paragraphs

2007-05-13 Thread Michael Gerz
Abdelrazak Younes schrieb: Elazar Leibovich wrote: Can anyone *PLEASE* have a look at it? It's a very crucial bugfix, the patch has nothing to do with no RTL text, and I really like it to be included in the beta. It's three days and no one has made any remark. Sorry Elazar, please forgive us

Re: [patch] Fixing paste of mathematics in RTL paragraphs

2007-05-13 Thread Abdelrazak Younes
Elazar Leibovich wrote: Can anyone *PLEASE* have a look at it? It's a very crucial bugfix, the patch has nothing to do with no RTL text, and I really like it to be included in the beta. It's three days and no one has made any remark. Sorry Elazar, please forgive use. The problem is that not en

Re: [patch] Fixing paste of mathematics in RTL paragraphs

2007-05-13 Thread Elazar Leibovich
Can anyone *PLEASE* have a look at it? It's a very crucial bugfix, the patch has nothing to do with no RTL text, and I really like it to be included in the beta. It's three days and no one has made any remark. Please. On 5/10/07, Elazar Leibovich <[EMAIL PROTECTED]> wrote: The attached patch di

[patch] Fixing paste of mathematics in RTL paragraphs

2007-05-10 Thread Elazar Leibovich
The attached patch disable Paragraph::getUChar functionality of inversing the paranthesis. I grep'ed for the function and it seems to be used only by math inset's pasting getPlainText mechanism, and indeed it has no effect on regular paranthesis. Please have a look at this very simple patch and ap