From: Martin Sevior (msevior@physics.unimelb.edu.au)
Date: Wed May 07 2003 - 01:51:00 EDT
On Wed, 2003-05-07 at 13:38, Dom Lachowicz wrote:
> One is a mismatched new[]/delete[] in the clipboard
> code. Relatively benign.
>
> The other one is a new one introduced by Tomas's Bidi
> text markers. When pasting text in now, we
> unfortunately probably don't get the bidi markers
> correct. This is due to there not being a
> insertStruxFmt or similar call. appendStruxFmt during
> PTS_Loading causes bad joo-joo when pasting in text,
> and ultimately a crash. This circumvents that problem
> by choosing the lesser of two evils. Better solutions
> appreciated.
>
OK. You just need to use:
bool pd_Document::changeStruxAttsNoUpdate(PL_StruxDocHandle sdh,
const char * attr, const char * attvalue);
I wrote this help with table import. It might work here as well.
I'll leave it for Tomas to implement.
Martin
> Dom
>
> CVS:
> ----------------------------------------------------------------------
> CVS: Enter Log. Lines beginning with `CVS:' are
> removed automatically
> CVS:
> CVS: Committing in .
> CVS:
> CVS: Modified Files:
> CVS: src/af/xap/xp/xap_FakeClipboard.cpp
> CVS: src/wp/impexp/xp/ie_imp.cpp
> src/wp/impexp/xp/ie_imp_Text.cpp
> CVS:
> ----------------------------------------------------------------------
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
-- Martin Sevior <msevior@physics.unimelb.edu.au> University of Melbourne
This archive was generated by hypermail 2.1.4 : Wed May 07 2003 - 00:55:17 EDT