Crash editing class method...with Pharo5.0, Latest update: #50519

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Crash editing class method...with Pharo5.0, Latest update: #50519

stepharo
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