Re: [BLACKBOX] Texts Append

From: [at]} <Josef>
Date: Tue, 14 Jul 2009 08:49:16 +0200

----boundary-LibPST-iamunique-1071630020_-_-
Content-type: text/plain

I don't know if it is a bug or if it follows somehow
from the spec. What obviously happens is this:

The formatter is associated with a position where it inserts
text via its rider, which is a Writer.
This position is not advanced when the text is
appended underneath the formatter by directly accessing its
rider.Base() text model.
What is obviously missing is a WriteText method in the
Formatter interface.
As a work around you can call SetPos explicitly after inserting the text:
    fW.rider.SetPos(fW.rider.Base().Length());

- Josef



----- Original Message -----
From: <Aubrey.McIntosh{([at]})nowhere.xy
To: <BLACKBOX{([at]})nowhere.xy
Sent: Tuesday, July 14, 2009 7:54 AM
Subject: [BLACKBOX] Texts Append


>I wrote two groups of output to two different buffers. I then append
> one to another, and wrote more.
> The following module gives the output order as 1,3,2 instead of 1,2,3
> I've been up late, I don't see the problem.
>
> `StdCoder.Decode ..,, ..rR....3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x
> hXhC6FU1xhiZiVBhihgmRiioedhgrZcZRiXFfaqmSrtuGfa4700zdGrr8rmCLLCJuyKtYcZRiX
> 7.2.s,6zB.0k,5TWyql.bnayKmKKqGomC5XzET1.PuP.MHT9N9ntumaU2,CJuyKtQC98P9PP7O
> NbXmb.2.Id4k2EVO.,E.cUGpmWLuOpoKqvCbHZiYpedhA704TeKKw.bHfEWUmL.6..D.NT,6.,
> sUGpmWbBxhYhAbndMHT9NY6Mw.sQq2Y6cwB.0.hz.w,ox1E.0E.k65E.cUG3.bnUGLu8ro8quG
> rmCLWKqtE0E.kHU.EBU.U,U.I3VuI3.0E65.A3AU0KyBU.2.m00.e,2.AU.Ue64VT.E.07s6EB
> E,8Mtr.2.412.e,0E.k.Ue6sNQ.E.07M.kAk.O0CE,9z4E.0.71,.x.,6.M.,.1eQHPMNHcCJ,
> U.2Gk.U5U1Y0AUKU1YE6,s.X0e5A.636.kHOm,wx0L.3Qw7ONhvETPPPPMR9N9fQbf9b8RO3U.
> Ay2hgq,.RdJ.0EtD.0E..U4U.2.f.Z.zTHT8Ff8H986VeQHfRdONGrU0LsKKrGqRqk2aoa0pb8
> Jeqk2akdGLmmorSKK0GeKKwGbV3ikhgmRig2YI,T1mGEG3O3CrRqk2ak4aEc8pbCoWGoe8pW0G
> WyKJin4ak2OpU8p4ak2aEuOLR0GeKKw.u0QbBA,HcNjOMf9SN76BvJ,dC,7J9XBBAELOor8rq4
> KuGrm8rRqk2M18oWSoYuo4ak2oAc95uPRfP9vMd9JT96F7J99SwBmaiYgdJiiodZxicAZdQbBA
> V7.sJZPOdPNb8RZPORvN,783dA,7JFPN,tQ9vMTfP796NPORPN,tPB96dPNl9RRd6HtCPM0..m
> Irin4a.Pk2aEu2YugbUQeoZgAFLuomSLfaqmSLIamRqk2cNumVyKr.6Rhf9d8OHvQPuP7PNWmI
> amR.wemBB..kd.0GI8mM0GeWqmogdJinZiUYhd,...Ea.EtaKmKKtuGV4qtKKIaGL4Is0rmuac
> 2YaxeVhC8roG4.amR.w8sI.FlN0GeWqmYicBhmZgUYB....Y7MFR8F,7FTvCPM0PMFR8F0Jta4
> C5UigV02emBhq,.GorqE,5TeK45uPR9RZvPN9P9fQbndsEdfQN9F9vQ59.XDJ..oZ1xBd16F9v
> Q59.C244.IC...Qii..70,cw7.,.d.,.HE.2U..U,Iklb8IepZhZJinpZHFdKLq6F6.XDJ.Qii
> IepZhZ7F6.Zz.E.ses,sc6.,k,,UnpZHldGrwmqmGomCb.AS.c9Ajg,0EtT.2.U6UOV.2.86.c
> 918R.Y6bvM,E0E...7,,M.,.,.VNgp00kXat.wnjl.k.E.0.3gwP.0..I16.M.EJ.6.VQ.E..Y
> VsH4ESauhQVs9E3Qw7uPgBQC5uP..I06..E2E.U76.2yMqC,hSnI.nT32kwL,V9bLHEuL5,HJ0
> ...
> --- end of encoding ---
>
> --
> --
> Aubrey McIntosh, Ph.D.
> 1502 Devon Circle
> Austin TX 78723-1814
> http://home.grandecom.net/~amcintosh/aubrey/Search/
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1071630020_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEkgZG9uJ3Qga25vdyBpZiBpdCBpcyBhIGJ1ZyBv
ciBpZiBpdCBmb2xsb3dzIHNvbWVob3dccGFyDQpmcm9tIHRoZSBzcGVjLiBXaGF0IG9idmlvdXNs
eSBoYXBwZW5zIGlzIHRoaXM6XHBhcg0KXHBhcg0KVGhlIGZvcm1hdHRlciBpcyBhc3NvY2lhdGVk
IHdpdGggYSBwb3NpdGlvbiB3aGVyZSBpdCBpbnNlcnRzIFxwYXINCnRleHQgdmlhIGl0cyByaWRl
ciwgd2hpY2ggaXMgYSBXcml0ZXIuIFxwYXINClRoaXMgcG9zaXRpb24gaXMgbm90IGFkdmFuY2Vk
IHdoZW4gdGhlIHRleHQgaXNccGFyDQphcHBlbmRlZCB1bmRlcm5lYXRoIHRoZSBmb3JtYXR0ZXIg
YnkgZGlyZWN0bHkgYWNjZXNzaW5nIGl0cyBccGFyDQpyaWRlci5CYXNlKCkgdGV4dCBtb2RlbC5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