[squeak-dev] [5.2a] styled text in a class comment spawns endless subscript out-of-bounds
K K Subbu
kksubbu.ml at gmail.com
Thu Jul 5 06:19:25 UTC 2018
On Thursday 05 July 2018 04:25 AM, Bob Arning wrote:
> This problem may ultimately be due to something broken in the text being
> displayed. If I look at the funky class comment, it has these runs
>
> a RunArray runs: #(1 35 18 20 3) values: {#() . {a TextFontChange font:
> 1} . #() . {a TextEmphasis code: 1} . #()}
>
> The total length of the run sizes is 77, yet the string is only 70 bytes
> long.
> If I copy that text out and paste into a workspace, the runs now look like:
>
> a RunArray runs: #(1 35 18 16) values: {#() . {a TextFontChange font: 1}
> . #() . {a TextEmphasis code: 1}}
>
Could it be that the original string had trailing whitespaces, four with
emphasis and three without any style? perhaps a CRLF->CR reduction?
Regards .. Subbu
More information about the Squeak-dev
mailing list
|