when smallboxes overlap, a phraserect that exactly fits a line of smallboxes frequently picks up a straggler from another line. this can't be avoided currently without nudging the rects out of the way. I propose:
1) make the phraserects only pick up smallboxes on Contains rather than on Intersects
2) make dragging a phraserect first do an intersects check, then fit itself exactly to the intersected rectangles, THEN do Contains to pick up text. (you can also eliminate the minimum size this way)
when smallboxes overlap, a phraserect that exactly fits a line of smallboxes frequently picks up a straggler from another line. this can't be avoided currently without nudging the rects out of the way. I propose:
1) make the phraserects only pick up smallboxes on Contains rather than on Intersects 2) make dragging a phraserect first do an intersects check, then fit itself exactly to the intersected rectangles, THEN do Contains to pick up text. (you can also eliminate the minimum size this way)