commit: cursor movement fix

From: Patrick Lam (
Date: Thu Apr 04 2002 - 02:17:14 EST

  • Next message: Martin Sevior: "commit: More RTF fixes."

    enforce proper cursor behaviour around fields
    CVS: ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS: Committing in .
    CVS: Modified Files:
    CVS: src/text/fmt/xp/fp_Run.cpp src/text/fmt/xp/fp_Run.h
    CVS: ----------------------------------------------------------------------

    I added a hasLayoutProperties() method to the FieldRun (always
    returning true, fields always have layout properties). I think this
    is sane; if anyone knows otherwise, please tell me. I'm not completely sure
    about what a layout property is, you see.

    This fixes the case where you insert a field at the end of a paragraph and
    the cursor remains on the left of the field. I don't think it closes
    any bugs, but maybe it does.


    This archive was generated by hypermail 2.1.4 : Thu Apr 04 2002 - 02:18:58 EST