Re: Getting the paragraph an inset is located

2007-04-29 Thread Abdelrazak Younes
Elazar Leibovich wrote: Did you test your function? Yes. But not with an RTL systems, maybe that is the problem but this doesn't seem plausible. It segfaults my program when I use it like that, that is, without doing anything except of calliing cur.isRTL(): I see some goto in there, maybe

Re: Getting the paragraph an inset is located

2007-04-29 Thread Elazar Leibovich
Did you test your function? It segfaults my program when I use it like that, that is, without doing anything except of calliing cur.isRTL(): Index: src/mathed/InsetMathNest.cpp === --- src/mathed/InsetMathNest.cpp(revision 180

Re: Getting the paragraph an inset is located

2007-04-29 Thread Abdelrazak Younes
Elazar Leibovich wrote: When trying to determine the directionality of a mathed inset the cursor is currently located in, I'm having the following troubles. I cannot get the paragraph directly from the cursor (I don't know why, but someone explicitly disallowed that, having a "BOOST_ASSERT(inText

Getting the paragraph an inset is located

2007-04-28 Thread Elazar Leibovich
When trying to determine the directionality of a mathed inset the cursor is currently located in, I'm having the following troubles. I cannot get the paragraph directly from the cursor (I don't know why, but someone explicitly disallowed that, having a "BOOST_ASSERT(inTexted());" when calling cur.