Bennett Helm wrote:
On Jul 16, 2007, at 1:11 PM, Abdelrazak Younes wrote:

Assertion triggered in void lyx::Text::setCursorIntern(lyx::Cursor&, lyx::pit_type, lyx::pos_type, bool, bool) by failing check "this == cur.text()" in file Text2.cpp:746
Could you please verify that your cursor was not within an inset before using pdfsync? Could you also try to reproduce the crash when the cursor is in the _main_ text? If you cannot, then I might be able to cure this bug.

If you confirm then you might want to try the attached patch.

That seems to fix the problem. (I've tried in various types of insets without a problem.)

OK, Jose shall I commit? Please note that I have two other patches pending...


One additional (minor) problem I've noticed: if you start with a saved file, and then use pdfsync to jump to a location in that file, it marks the file as changed. Shall I file this as a separate bug report?

Yes if it doesn't already exist.

Abdel.

Reply via email to