I did not find a way to reproduce the issue programmatically without Toplo, but when coding, or updating some code panel, we sometimes have this issue
It looks like updating method addAttributes: attributes from: start to: stop to
addAttributes: attributes from: start to: stop
| actualStart actualStop subText |
actualStart := start max: 1.
actualStop := stop min: blocText size.
actualStart <= actualStop ifFalse: [ ^ self ].
subText := blocText from: actualStart to: actualStop.
attributes do: [ :each | each applyToBlText: subText ]
Can fix the issue, but it looks like a hotfix to me and we need to investigate more the bug reason
I did not find a way to reproduce the issue programmatically without Toplo, but when coding, or updating some code panel, we sometimes have this issue
It looks like updating method
addAttributes: attributes from: start to: stoptoCan fix the issue, but it looks like a hotfix to me and we need to investigate more the bug reason