DNU RubShoutStylerDecorator>>characterBlockForIndex:

I just started to edit fractions:offsets:


characterBlockForIndex: index
    "Answer a CharacterBlock for the character in text at index."
    | line |
    line := self lines at: (self lineIndexOfCharacterIndex: index).
^ (RubCharacterBlockScanner new text: self text textStyle: self textStyle) characterBlockAtPoint: nil index: ((index max: line first) min: self text size+1)
        in: line

self lines is empty...
Now I could not recover or close my window.

No idea how to reproduce it.

Stef

Reply via email to