Skip to content

Commit

Permalink
JBIDE-20690 DnD over VPE source part fails under Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
dgolovin committed Sep 24, 2015
1 parent 333c9a7 commit 5ece87d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ public void dragOver(DropTargetEvent event) {
StyledText text = (StyledText) getControl();

Point mousePoint = text.getDisplay().map(null, text, event.x, event.y);
Point newOffsetPoint = text.getLocationAtOffset(newOffset);
if (newOffset < 0) return;
Point newOffsetPoint = text.getLocationAtOffset(newOffset);
Point pt = mousePoint;
Rectangle ca = text.getClientArea();
ca.height -= text.getLineHeight();
Expand Down

0 comments on commit 5ece87d

Please sign in to comment.