commit (head): toggle case fixes

From: Tomas Frydrych <tomasfrydrych_at_yahoo.co.uk>
Date: Sat Sep 18 2004 - 17:09:43 CEST

various fixes to the toggle case code, including bug 6430.

In order to get this sorted I had to make changes to
pt_PieceTable::_insertFmtMarkFragWithNotify -- basically the original
code tried to be too clever, doing things that are better done on
higher level than the PT. The two significant changes are:

(1) the fmt mark simply holds the fmt that has been passed down to
it; it does not try to supperimpose it on props and attrs derrived
from the context; that is the job of the caller. (I created
FV_View::getAttrPropForPoint() to simplyfy handling of fmt continuity
at point).

(2) Immediately after the start of a strux, fmt mark is inserted,
even if it seemingly has no effect -- without this the
_chooseIndexAP() does not work.

I also came across a situation where UT_Worker was firing recursively
inside _sFrequentRepeat(), so I added code to stop that from
happening.

files: number in ptbl/xp and fv_View*.h/cpp, ap_EditMethods.cpp

Tomas
Received on Sat Sep 18 17:09:17 2004

This archive was generated by hypermail 2.1.8 : Sat Sep 18 2004 - 17:09:17 CEST