Farsi Problems in LyX 1.6.7

2010-09-10 Thread Hossein Noorikhah
Hi, I've started translating LyX introduction (intro.lyx) into Persian, and I'm using builtin Farsi support that uses Arabi package. There are some bugs in Farsi support that I've encountered, and I try to list those that are most important. I'm using LyX 1.6.7 on win32. Some of them are bugs of

MOC Dependencies

2010-09-10 Thread RGH
With SignalSlotPrivate, in particular, I sometimes get errors of the generated by an older MOC variety, and then I have to manually delete SignalSlotPrivate_moc.cpp. Can this somehow be automated via make? rh

Re: [patch] support for customizable horizontal lines

2010-09-10 Thread Pavel Sanda
Uwe Stöhr wrote: when i enabled debuging symbols on, the crash disappeared though. so i can't give more precise backtrace, sorry. Abdel, it didn't crash before you transformed the dialog from CommandInset to InsetWidgets. do you understand why the code in r35299 string width_str =

Re: [patch] support for customizable horizontal lines

2010-09-10 Thread Uwe Stöhr
Am 10.09.2010 20:49, schrieb Pavel Sanda: do you understand why the code in r35299 string width_str = fromqstr(WidthLE-text()); if (width_str[0] == '-') width_str.erase(0,1); must crash sooner or later? No. I check if the string begins with a '-' sign and if so, I remove this character

Re: [patch] support for customizable horizontal lines

2010-09-10 Thread Pavel Sanda
Uwe Stöhr wrote: Am 10.09.2010 20:49, schrieb Pavel Sanda: do you understand why the code in r35299 string width_str = fromqstr(WidthLE-text()); if (width_str[0] == '-') width_str.erase(0,1); must crash sooner or later? No. I check if the string begins with a '-' sign and if so, I

Re: [patch] support for customizable horizontal lines

2010-09-10 Thread Peter Kümmel
Am Samstag, den 11.09.2010, 00:14 +0200 schrieb Pavel Sanda: Uwe Stöhr wrote: Am 10.09.2010 20:49, schrieb Pavel Sanda: do you understand why the code in r35299 string width_str = fromqstr(WidthLE-text()); if (width_str[0] == '-') width_str.erase(0,1); must crash sooner or

Farsi Problems in LyX 1.6.7

2010-09-10 Thread Hossein Noorikhah
Hi, I've started translating LyX introduction (intro.lyx) into Persian, and I'm using builtin Farsi support that uses Arabi package. There are some bugs in Farsi support that I've encountered, and I try to list those that are most important. I'm using LyX 1.6.7 on win32. Some of them are bugs of

MOC Dependencies

2010-09-10 Thread RGH
With SignalSlotPrivate, in particular, I sometimes get errors of the "generated by an older MOC" variety, and then I have to manually delete SignalSlotPrivate_moc.cpp. Can this somehow be automated via make? rh

Re: [patch] support for customizable horizontal lines

2010-09-10 Thread Pavel Sanda
Uwe Stöhr wrote: >> when i enabled debuging symbols on, the crash disappeared though. >> so i can't give more precise backtrace, sorry. > > Abdel, it didn't crash before you transformed the dialog from CommandInset > to InsetWidgets. do you understand why the code in r35299 string width_str =

Re: [patch] support for customizable horizontal lines

2010-09-10 Thread Uwe Stöhr
Am 10.09.2010 20:49, schrieb Pavel Sanda: do you understand why the code in r35299 string width_str = fromqstr(WidthLE->text()); if (width_str[0] == '-') width_str.erase(0,1); must crash sooner or later? No. I check if the string begins with a '-' sign and if so, I remove this character

Re: [patch] support for customizable horizontal lines

2010-09-10 Thread Pavel Sanda
Uwe Stöhr wrote: > Am 10.09.2010 20:49, schrieb Pavel Sanda: > >> do you understand why the code in r35299 >> >> string width_str = fromqstr(WidthLE->text()); >> if (width_str[0] == '-') >>width_str.erase(0,1); >> >> must crash sooner or later? > > No. I check if the string begins with a '-'

Re: [patch] support for customizable horizontal lines

2010-09-10 Thread Peter Kümmel
Am Samstag, den 11.09.2010, 00:14 +0200 schrieb Pavel Sanda: > Uwe Stöhr wrote: > > Am 10.09.2010 20:49, schrieb Pavel Sanda: > > > >> do you understand why the code in r35299 > >> > >> string width_str = fromqstr(WidthLE->text()); > >> if (width_str[0] == '-') > >>width_str.erase(0,1); > >> >