Hi, I've encountered a strange assertion error when clicking the left boundary of a formula contained in a long line of Hebrew text.
I've attached a minimal file (test.lyx) that reproduces the bug. The following output was generated when running lyx -dbg workarea test.lyx (There are more lines before this but I don't think they are relevant). TextMetrics.cpp(1400): TextMetrics::editXY(cur, 975, 35) CoordCache.cpp(53): InsetCache contains: CoordCache.cpp(58): Inset 0xf05cd0(unknown) has point 974,43 CoordCache.cpp(58): Inset 0xf4f200(unknown) has point 977,43 CoordCache.cpp(58): Inset 0x10fb8b0(unknown) has point 1029,43 CoordCache.cpp(58): Inset 0x11e26a0(unknown) has point 1003,43 CoordCache.cpp(58): Inset 0x11e27f0(unknown) has point 997,43 CoordCache.cpp(58): Inset 0x11e7c10(unknown) has point 987,43 CoordCache.cpp(58): Inset 0x11e86c0(unknown) has point 1039,43 CoordCache.cpp(58): Inset 0x11eca10(unknown) has point 1057,43 CoordCache.cpp(58): Inset 0x11ecb80(unknown) has point 1013,43 CoordCache.cpp(58): Inset 0x11f25c0(unknown) has point 1047,43 CoordCache.cpp(58): Inset 0x1209f80(unknown) has point 1023,43 lassert.cpp(21): ASSERTION (pos != 0 && inset == insetBefore) || inset == pars[pit].getInset(pos) VIOLATED IN TextMetrics.cpp:1436 Assertion triggered in void lyx::doAssert(const char*, const char*, long int) by failing check "false" in file lassert.cpp:23 Aborted Thanks, Guy N.B. This bug is also reproducible in LyX 1.6.0_rc4. This bug doesn't exist in previous versions (LyX 1.5.*).
test.lyx
Description: application/lyx