On Aug 10, 2011, at 5:21 PM, Igor Stasenko wrote: > which leads to #basicNew: primitive fail, because it passing a > negative number (no surprise, it fails). > > According to stack trace, > a > Text>> copyFrom:to: > is called with arguments: > > start = 100 > stop = 44 > (instead of having start = 44 , stop = 100) > > > it is called from MultiNewParagraph>>buildSelectionBlocksFrom:to: method. > I don't know whether we should fix this method, or maybe it is better > to fix #copyFrom:to: > to accept inverted ranges (a simple check if stop < start then swap > the end points)
Igor I saw that someboyd (luarent may be) was proposing a solution > yet it hard to reproduce, it works ok most of the times :( > > To reproduce the bug, try to do following: > - open a new workspace window, type an arbitrary text there > - then drag a window to the bottom of desktop, so only title bar of > workspace remain visible > - release drag > - click on the title bar and start dragging it back to make text visible > > -- > Best regards, > Igor Stasenko AKA sig. >
