Uwe Stöhr wrote:
Ich schrieb:
>> OK, I'll provide an improved version of my patch that also
shows the code for \big etc.
>
> Hum... then why not just take my patch?
because you display LFUNS ;-).
Just joking. Your patch is good as it cleans up the whole code. I take
it and built in what I like to have.
Good! :-)
In your patch was a bug:
if (leftLW->currentRow() < leftLW->count() - 1)
left_str = fix_name(leftLW->currentItem()->toolTip(), bigsize);
In this case when the user selects "None" as delimiter, the "." is not
set in the LaTeX-output and causes therefore LaTeX-errors.
In my patch is also a bug I cannot fix. This line causes Lyx to crash
when calling the dialog:
bigl = bigleft[size - 1];
I think it should be "bigleft[size]". I guess you are misleaded by the
name of the variable "size".
I don't understand why it compiles fine but the a crash occurs.
If you could fix this issue please test.
I also widened the dialog a bit because it was too small to display the
maximal TeX-code (also too small for your LFUN output).
OK, if the above change fix the crash, just put this updated patch in, I
think we already discussed enough this one ;-)
Abdel.