Disallow dragging fragments above a super call
Issue #543
new
When moving fragments within a message view (see #536) certain bounds are checked to ensure that a fragment can not be moved to an invalid place.
It is still possible to move a fragment above a super constructor call.
Steps to reproduce
- Create class Super with sub-class Sub
- Add a constructor to each class
- Create a message view for the constructor of Sub
- Add the super constructor call
- Add another fragment after the super constructor call
- Drag the other fragment on top of the super constructor call
Expected Result
It should not be possible to move any fragment above the super constructor cal.
See
MessageViewUtil.findLowerBound
method.