Hi, Looking at some late changes to Texts.Mod. I do not quite get why in Texts.Read we remove commented part below? PROCEDURE Read* (VAR R: Reader; VAR ch: CHAR); BEGIN Files.Read(R.rider, ch); R.fnt := R.ref.fnt; R.col := R.ref.col; R.voff := R.ref.voff; INC(R.off); IF R.off = R.ref.len THEN IF R.ref.f = TrailerFile THEN R.eot := TRUE END; (*R.org := R.org + R.off; R.off := 0;*) (*removed*) R.ref := R.ref.next; R.org := R.org + R.off; R.off := 0; Files.Set(R.rider, R.ref.f, R.ref.off) END END Read; Also this comment suggests there is a "1" after text tag. (* TextBlock = TextTag "1" offset run {run} "0" len {AsciiCode}. run = fnt [name] col voff len. *) -- Tomas Kral <thomas.kral@email.cz>
(*R.org := R.org + R.off; R.off := 0;*) (*removed*) R.ref := R.ref.next; R.org := R.org + R.off; R.off := 0;
Ah, now I see, is a duplicate on the next line Yet, Is there a "1" after text tag as per comment? (* TextBlock = TextTag "1" offset run {run} "0" len {AsciiCode}. run = fnt [name] col voff len. *) -- Tomas Kral <thomas.kral@email.cz>
participants (1)
-
Tomas Kral