// {{{ dragEnter() method @SuppressWarnings("deprecation") @Override public void dragEnter(DropTargetDragEvent dtde) { Log.log(Log.DEBUG, this, "Drag enter"); savedBuffer = textArea.getBuffer(); textArea.setDragInProgress(true); // textArea.getBuffer().beginCompoundEdit(); savedCaret = textArea.getCaretPosition(); } // }}}