Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
242,800
void (@NotNull EditorColorsScheme scheme) { assertIsDispatchThread(); ReadAction.run(() -> { logSchemeChangeIfNeeded(scheme); myScheme = scheme; reinitSettings(); }); }
setColorsScheme
242,801
void (@NotNull EditorColorsScheme scheme) { if (!LOG.isDebugEnabled()) return; EditorColorsManager colorsManager = ApplicationManager.getApplication().getServiceIfCreated(EditorColorsManager.class); if (colorsManager == null) return; EditorColorsScheme globalScheme = colorsManager.getGlobalScheme(); boolean isGlobal = ...
logSchemeChangeIfNeeded
242,802
EditorColorsScheme () { return myScheme; }
getColorsScheme
242,803
void () { ThreadingAssertions.assertEventDispatchThread(); }
assertIsDispatchThread
242,804
void () { ApplicationManager.getApplication().assertReadAccessAllowed(); }
assertReadAccess
242,805
void (int type) { assertIsDispatchThread(); ReadAction.run(() -> myState.setVerticalScrollBarOrientation(type)); }
setVerticalScrollbarOrientation
242,806
void (ObservableStateListener.PropertyChangeEvent event) { assertIsDispatchThread(); Object newValue = event.getNewValue(); if (!(newValue instanceof Integer)) { LOG.error("newValue is not Integer. property name = " + event.getPropertyName() + ", newValue = " + newValue); return; } int currentHorOffset = myScrollingMod...
verticalScrollBarOrientationChanged
242,807
void (boolean b) { myScrollPane .setVerticalScrollBarPolicy(b ? ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS : ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER); }
setVerticalScrollbarVisible
242,808
void (boolean b) { myScrollPane.setHorizontalScrollBarPolicy( b ? ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED : ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); }
setHorizontalScrollbarVisible
242,809
int () { return myState.getVerticalScrollBarOrientation(); }
getVerticalScrollbarOrientation
242,810
boolean () { return myState.getVerticalScrollBarOrientation() != EditorEx.VERTICAL_SCROLLBAR_RIGHT; }
isMirrored
242,811
int () { return myMouseSelectionState; }
getMouseSelectionState
242,812
void () { if (myMouseSelectionState != MOUSE_SELECTION_STATE_WORD_SELECTED) return; Caret caret = getCaretModel().getCurrentCaret(); mySavedSelectionStart = caret.getSelectionStart(); mySavedSelectionEnd = caret.getSelectionEnd(); caret.moveToOffset(mySavedSelectionEnd); }
updateMouseWordSelectionStateToCaret
242,813
void (@MouseSelectionState int mouseSelectionState) { if (getMouseSelectionState() == mouseSelectionState) return; myMouseSelectionState = mouseSelectionState; myMouseSelectionChangeTimestamp = System.currentTimeMillis(); myMouseSelectionStateAlarm.cancelAllRequests(); if (myMouseSelectionState != MOUSE_SELECTION_STATE...
setMouseSelectionState
242,814
void (@Nullable MouseEvent event, @Nullable EditorMouseEvent editorMouseEvent) { setMouseSelectionState(MOUSE_SELECTION_STATE_NONE); MouseEvent e = event != null ? event : myMouseMovedEvent; if (e != null) { validateMousePointer(e, editorMouseEvent); } }
resetMouseSelectionState
242,815
void () { myMouseSelectionStateAlarm.cancelAllRequests(); }
cancelAutoResetForMouseSelectionState
242,816
boolean (@NotNull KeyEvent e) { myLastTypedActionTimestamp = -1; if (e.getID() != KeyEvent.KEY_TYPED) return false; char c = e.getKeyChar(); if (UIUtil.isReallyTypedEvent(e)) { // Hack just like in javax.swing.text.DefaultEditorKit.DefaultKeyTypedAction myLastTypedActionTimestamp = e.getWhen(); myLastTypedAction = Char...
processKeyTyped
242,817
void (@NotNull String actionId, long timestampMs) { myLastTypedActionTimestamp = timestampMs; myLastTypedAction = actionId; }
recordLatencyAwareAction
242,818
boolean () { return myLastTypedActionTimestamp != -1; }
isProcessingTypedAction
242,819
EditorDropHandler () { return myDropHandler; }
getDropHandler
242,820
void (@NotNull EditorDropHandler dropHandler) { myDropHandler = dropHandler; }
setDropHandler
242,821
void (@Nullable Predicate<? super RangeHighlighter> filter) { if (myHighlightingFilter == filter) return; Predicate<? super RangeHighlighter> oldFilter = myHighlightingFilter; myHighlightingFilter = filter; for (RangeHighlighter highlighter : myDocumentMarkupModel.getDelegate().getAllHighlighters()) { boolean oldAvaila...
setHighlightingPredicate
242,822
boolean (@NotNull Point point) { Inlay<?> inlay = myInlayModel.getElementAt(point); return inlay != null && (inlay.getPlacement() == Inlay.Placement.ABOVE_LINE || inlay.getPlacement() == Inlay.Placement.BELOW_LINE); }
hasBlockInlay
242,823
Rectangle (TextHitInfo offset) { return execute(() -> myDelegate.getTextLocation(offset)); }
getTextLocation
242,824
TextHitInfo (int x, int y) { return execute(() -> myDelegate.getLocationOffset(x, y)); }
getLocationOffset
242,825
int () { return execute(() -> myDelegate.getInsertPositionOffset()); }
getInsertPositionOffset
242,826
AttributedCharacterIterator (int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes) { return execute(() -> myDelegate.getCommittedText(beginIndex, endIndex, attributes)); }
getCommittedText
242,827
int () { return execute(myDelegate::getCommittedTextLength); }
getCommittedTextLength
242,828
AttributedCharacterIterator (AttributedCharacterIterator.Attribute[] attributes) { return execute(() -> myDelegate.getSelectedText(attributes)); }
getSelectedText
242,829
Rectangle (TextHitInfo offset) { if (isDisposed()) return new Rectangle(); Point caret = logicalPositionToXY(getCaretModel().getPrimaryCaret().getLogicalPosition()); Rectangle r = new Rectangle(caret, new Dimension(1, getLineHeight())); Point p = getLocationOnScreen(getContentComponent()); r.translate(p.x, p.y); return...
getTextLocation
242,830
Point (@NotNull Component component) { Point location = new Point(); SwingUtilities.convertPointToScreen(location, component); if (LOG.isDebugEnabled() && !component.isShowing()) { Class<?> type = component.getClass(); Component parent = component.getParent(); while (parent != null && !parent.isShowing()) { type = pare...
getLocationOnScreen
242,831
int () { int composedStartIndex = 0; int composedEndIndex = 0; if (composedRangeMarker != null) { composedStartIndex = composedRangeMarker.getStartOffset(); composedEndIndex = composedRangeMarker.getEndOffset(); } int caretIndex = getCaretModel().getOffset(); if (caretIndex < composedStartIndex) { return caretIndex; } ...
getInsertPositionOffset
242,832
String (int startIdx, int endIdx) { if (startIdx >= 0 && endIdx > startIdx) { CharSequence chars = getDocument().getImmutableCharSequence(); return chars.subSequence(startIdx, endIdx).toString(); } return ""; }
getText
242,833
AttributedCharacterIterator (int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes) { int composedStartIndex = 0; int composedEndIndex = 0; if (composedRangeMarker != null) { composedStartIndex = composedRangeMarker.getStartOffset(); composedEndIndex = composedRangeMarker.getEndOffset(); } St...
getCommittedText
242,834
int () { int length = getDocument().getTextLength(); if (composedRangeMarker != null) { length -= composedRangeMarker.getEndOffset() - composedRangeMarker.getStartOffset(); } return length; }
getCommittedTextLength
242,835
String (int composedIndex, @NotNull AttributedCharacterIterator text) { StringBuilder strBuf = new StringBuilder(); // create attributed string with no attributes for (char c = text.setIndex(composedIndex); c != CharacterIterator.DONE; c = text.next()) { strBuf.append(c); } return strBuf.toString(); }
createComposedString
242,836
void (@NotNull InputMethodEvent e) { if (composedRangeMarker != null) { int dot = composedRangeMarker.getStartOffset(); TextHitInfo caretPos = e.getCaret(); if (caretPos != null) { dot += caretPos.getInsertionIndex(); } getCaretModel().moveToOffset(dot); getScrollingModel().scrollToCaret(ScrollType.RELATIVE); } }
setInputMethodCaretPosition
242,837
void (@NotNull Runnable runnable) { CommandProcessor.getInstance().runUndoTransparentAction( () -> CommandProcessor.getInstance().executeCommand(myProject, () -> ApplicationManager.getApplication().runWriteAction(runnable), "", getDocument(), UndoConfirmationPolicy.DEFAULT, getDocument())); }
runUndoTransparent
242,838
boolean (@NotNull InputMethodEvent e) { if (e.getCommittedCharacterCount() <= 0) return false; AttributedCharacterIterator text = e.getText(); return text == null || text.first() != 0xA5 /* Yen character */; }
hasRelevantCommittedText
242,839
void (@NotNull InputMethodEvent e) { if (myNeedToSelectPreviousChar && SystemInfo.isMac && (Registry.is("ide.mac.pressAndHold.brute.workaround") || Registry.is("ide.mac.pressAndHold.workaround") && (hasRelevantCommittedText(e) || e.getCaret() == null))) { // This is required to support input of accented characters usin...
replaceInputMethodText
242,840
void (@NotNull MouseEvent e) { if (EVENT_LOG.isDebugEnabled()) { EVENT_LOG.debug(e.toString()); } requestFocus(); runMousePressedCommand(e); myInitialMouseEvent = e.isConsumed() ? e : null; }
mousePressed
242,841
void (@NotNull MouseEvent e) { if (EVENT_LOG.isDebugEnabled()) { EVENT_LOG.debug(e.toString()); } myMousePressArea = null; myLastMousePressedLocation = null; runMouseReleasedCommand(e); if (!e.isConsumed() && myMousePressedEvent != null && !myMousePressedEvent.isConsumed() && Math.abs(e.getX() - myMousePressedEvent.get...
mouseReleased
242,842
void (@NotNull MouseEvent e) { if (EVENT_LOG.isDebugEnabled()) { EVENT_LOG.debug(e.toString()); } runMouseEnteredCommand(e); }
mouseEntered
242,843
void (@NotNull MouseEvent e) { if (EVENT_LOG.isDebugEnabled()) { EVENT_LOG.debug(e.toString()); } runMouseExitedCommand(e); myGutterComponent.mouseExited(e); }
mouseExited
242,844
void (@NotNull MouseEvent e) { EditorMouseEvent event = createEditorMouseEvent(e); myLastPressWasAtBlockInlay = false; myLastMousePressedLocation = event.getLogicalPosition(); myLastMousePressedPoint = new RelativePoint(event.getMouseEvent()).getPoint(myEditorComponent); myCaretStateBeforeLastPress = isToggleCaretEvent...
runMousePressedCommand
242,845
void (@NotNull MouseEvent e) { EditorMouseEvent event = createEditorMouseEvent(e); for (EditorMouseListener listener : myMouseListeners) { listener.mouseClicked(event); if (isReleased || event.isConsumed()) { return; } } }
runMouseClickedCommand
242,846
void (@NotNull MouseEvent e) { myMultiSelectionInProgress = false; myDragOnGutterSelectionStartLine = -1; myScrollingTimer.stop(); if (e.isConsumed()) { return; } EditorMouseEvent event = createEditorMouseEvent(e); for (EditorMouseListener listener : myMouseListeners) { listener.mouseReleased(event); if (isReleased || ...
runMouseReleasedCommand
242,847
void (@NotNull MouseEvent e) { EditorMouseEvent event = new EditorMouseEvent(EditorImpl.this, e, getMouseEventArea(e)); for (EditorMouseListener listener : myMouseListeners) { listener.mouseEntered(event); if (isReleased) return; if (event.isConsumed()) { e.consume(); return; } } }
runMouseEnteredCommand
242,848
void (@NotNull MouseEvent e) { EditorMouseEvent event = new EditorMouseEvent(EditorImpl.this, e, getMouseEventArea(e)); for (EditorMouseListener listener : myMouseListeners) { listener.mouseExited(event); if (isReleased) return; if (event.isConsumed()) { e.consume(); return; } } }
runMouseExitedCommand
242,849
boolean (@NotNull MouseEvent e) { if (myMouseSelectionState != MOUSE_SELECTION_STATE_NONE && System.currentTimeMillis() - myMouseSelectionChangeTimestamp > Registry.intValue( "editor.mouseSelectionStateResetTimeout")) { resetMouseSelectionState(e, null); } int x = e.getX(); int y = e.getY(); if (x < 0) x = 0; if (y < 0...
processMousePressed
242,850
boolean (@NotNull Point p) { VisualPosition selectionEndPosition = myCaretModel.getCurrentCaret().getSelectionEndPosition(); Point selectionEnd = visualPositionToXY(selectionEndPosition); return p.y >= selectionEnd.y + getLineHeight() || p.y >= selectionEnd.y && p.x > selectionEnd.x && xyToVisualPosition(p).column > se...
isPointAfterSelectionEnd
242,851
Caret (@NotNull LogicalPosition logicalPosition) { int offset = logicalPositionToOffset(logicalPosition); for (Caret caret : getCaretModel().getAllCarets()) { if (offset >= caret.getSelectionStart() && offset <= caret.getSelectionEnd()) { return caret; } } return null; }
getSelectionCaret
242,852
boolean (@NotNull MouseEvent e) { return isMouseActionEvent(e, IdeActions.ACTION_EDITOR_CREATE_RECTANGULAR_SELECTION_ON_MOUSE_DRAG); }
isColumnSelectionDragEvent
242,853
boolean (@NotNull MouseEvent e) { return isMouseActionEvent(e, IdeActions.ACTION_EDITOR_ADD_OR_REMOVE_CARET) || isAddRectangularSelectionEvent(e); }
isToggleCaretEvent
242,854
boolean (@NotNull MouseEvent e) { return isMouseActionEvent(e, IdeActions.ACTION_EDITOR_ADD_RECTANGULAR_SELECTION_ON_MOUSE_DRAG); }
isAddRectangularSelectionEvent
242,855
boolean (@NotNull MouseEvent e) { return isMouseActionEvent(e, IdeActions.ACTION_EDITOR_CREATE_RECTANGULAR_SELECTION); }
isCreateRectangularSelectionEvent
242,856
boolean (@NotNull MouseEvent e, @NotNull String actionId) { KeymapManager keymapManager = KeymapManager.getInstance(); if (keymapManager == null) return false; Keymap keymap = keymapManager.getActiveKeymap(); MouseShortcut mouseShortcut = KeymapUtil.createMouseShortcut(e); List<String> mappedActions = keymap.getActionI...
isMouseActionEvent
242,857
void (boolean honorCamelCase) { Caret caret = getCaretModel().getCurrentCaret(); try (AccessToken ignore = SlowOperations.allowSlowOperations(SlowOperations.ACTION_PERFORM)) { caret.selectWordAtCaret(honorCamelCase); } setMouseSelectionState(MOUSE_SELECTION_STATE_WORD_SELECTED); mySavedSelectionStart = caret.getSelecti...
selectWordAtCaret
242,858
void (boolean moveToEnd) { Caret caret = getCaretModel().getCurrentCaret(); caret.selectLineAtCaret(); setMouseSelectionState(MOUSE_SELECTION_STATE_LINE_SELECTED); mySavedSelectionStart = caret.getSelectionStart(); mySavedSelectionEnd = caret.getSelectionEnd(); if (moveToEnd) { caret.moveToOffset(mySavedSelectionEnd); ...
selectLineAtCaret
242,859
boolean (@NotNull MouseEvent e) { return getSelectionModel().hasSelection() && e.getButton() == MouseEvent.BUTTON1 && e.isShiftDown() && getMouseEventArea(e) == EditorMouseEventArea.LINE_NUMBERS_AREA; }
tweakSelectionEvent
242,860
boolean (@NotNull MouseEvent e) { if (!tweakSelectionEvent(e)) { return false; } int startSelectionOffset = getSelectionModel().getSelectionStart(); int startVisLine = offsetToVisualLine(startSelectionOffset); int endSelectionOffset = getSelectionModel().getSelectionEnd(); int endVisLine = offsetToVisualLine(endSelecti...
tweakSelectionIfNecessary
242,861
void (boolean value) { myState.setUseAntialiasing(value); }
setUseEditorAntialiasing
242,862
EditorMouseEvent (@NotNull MouseEvent e) { Point point = e.getPoint(); EditorMouseEventArea area = getMouseEventArea(e); boolean inEditingArea = area == EditorMouseEventArea.EDITING_AREA; EditorLocation location = new EditorLocation(this, inEditingArea ? point : new Point(0, point.y)); VisualPosition visualPosition = l...
createEditorMouseEvent
242,863
void (@NotNull MouseEvent e) { if (EVENT_LOG.isDebugEnabled()) { EVENT_LOG.debug(e.toString()); } if (myDraggedRange != null || myGutterComponent.myDnDInProgress) { return; // on Mac we receive events even if drag-n-drop is in progress } if (myForcePushHappened) { return; // avoid selection creation on accidental mouse...
mouseDragged
242,864
void (@NotNull MouseEvent e) { if (EVENT_LOG.isDebugEnabled()) { EVENT_LOG.debug(e.toString()); } EditorMouseEvent event = createEditorMouseEvent(e); if (getMouseSelectionState() != MOUSE_SELECTION_STATE_NONE) { if (myMousePressedEvent != null && myMousePressedEvent.getComponent() == e.getComponent()) { Point lastPoint...
mouseMoved
242,865
void () { EditorColorsScheme delegate = getDelegate(); String editorFontName = getEditorFontName(); float editorFontSize = getEditorFontSize2D(); if (!myFontPreferencesAreSetExplicitly) { updatePreferences(myFontPreferences, editorFontName, editorFontSize, myUseLigatures, delegate.getFontPreferences()); } String consol...
reinitFonts
242,866
void (@NotNull EditorFontType fontType, @NotNull String familyName, int style, float fontSize, @NotNull FontPreferences fontPreferences) { Font baseFont = FontFamilyService.getFont(familyName, fontPreferences.getRegularSubFamily(), fontPreferences.getBoldSubFamily(), style, fontSize); myFontsMap.put(fontType, EditorFon...
setFont
242,867
void (@NotNull FontPreferencesImpl preferences, @NotNull String fontName, float fontSize, @Nullable Boolean useLigatures, @NotNull FontPreferences delegatePreferences) { preferences.clear(); preferences.register(fontName, fontSize); List<String> families = delegatePreferences.getRealFontFamilies(); //skip delegate's pr...
updatePreferences
242,868
void () { reinitFonts(); reinitSettings(); }
reinitFontsAndSettings
242,869
TextAttributes (TextAttributesKey key) { if (myOwnAttributes.containsKey(key)) return myOwnAttributes.get(key); return getDelegate().getAttributes(key); }
getAttributes
242,870
void (@NotNull TextAttributesKey key, TextAttributes attributes) { myOwnAttributes.put(key, attributes); }
setAttributes
242,871
void (ColorKey key, Color color) { if (color == AbstractColorsScheme.INHERITED_COLOR_MARKER) { myOwnColors.remove(key); } else { myOwnColors.put(key, color); } // These two are here because those attributes are cached // and I do not want the clients to call editor's reinit settings in this case. myCaretModel.reinitSet...
setColor
242,872
int () { return (int)(getEditorFontSize2D() + 0.5); }
getEditorFontSize
242,873
float () { if (myFontPreferencesAreSetExplicitly) { return myFontPreferences.getSize2D(myFontPreferences.getFontFamily()); } if (myFontSize == FONT_SIZE_TO_IGNORE) { return UISettingsUtils.getInstance().scaleFontSize(getDelegate().getEditorFontSize2D()); } return myFontSize; }
getEditorFontSize2D
242,874
void (int fontSize) { setEditorFontSize((float)fontSize); }
setEditorFontSize
242,875
void (float fontSize) { float originalSize = UISettingsUtils.getInstance().scaleFontSize(getDelegate().getEditorFontSize2D()); float minSize = Math.min(MIN_FONT_SIZE, originalSize); if (fontSize < minSize) { fontSize = minSize; } float maxSize = Math.max(myMaxFontSize, originalSize); if (fontSize > maxSize) { fontSize ...
setEditorFontSize
242,876
FontPreferences () { return !myFontPreferencesAreSetExplicitly && myFontPreferences.getEffectiveFontFamilies().isEmpty() ? getDelegate().getFontPreferences() : myFontPreferences; }
getFontPreferences
242,877
void (@NotNull FontPreferences preferences) { if (myFontPreferencesAreSetExplicitly && Comparing.equal(preferences, myFontPreferences)) return; if (LOG.isDebugEnabled()) { LOG.debug("Font preferences overridden for " + EditorImpl.this, new Throwable()); } myFontPreferencesAreSetExplicitly = true; myFaceName = null; myF...
setFontPreferences
242,878
FontPreferences () { return myConsoleFontPreferences.getEffectiveFontFamilies().isEmpty() ? getDelegate().getConsoleFontPreferences() : myConsoleFontPreferences; }
getConsoleFontPreferences
242,879
void (@NotNull FontPreferences preferences) { if (Comparing.equal(preferences, myConsoleFontPreferences)) return; preferences.copyTo(myConsoleFontPreferences); reinitFontsAndSettings(); }
setConsoleFontPreferences
242,880
String () { if (myFontPreferencesAreSetExplicitly) { return myFontPreferences.getFontFamily(); } if (myFaceName == null) { return getDelegate().getEditorFontName(); } return myFaceName; }
getEditorFontName
242,881
void (String fontName) { if (Objects.equals(fontName, myFaceName)) return; if (LOG.isDebugEnabled()) { LOG.debug("Font name overridden for " + EditorImpl.this, new Throwable()); } myFontPreferencesAreSetExplicitly = false; myFaceName = fontName; reinitFontsAndSettings(); }
setEditorFontName
242,882
Font (EditorFontType key) { if (myFontsMap != null) { Font font = myFontsMap.get(key); if (font != null) return font; } return getDelegate().getFont(key); }
getFont
242,883
void () { for ( EditorColorsScheme scheme = this; scheme instanceof DelegateColorScheme delegateColorScheme; scheme = delegateColorScheme.getDelegate() ) { if (scheme instanceof MyColorSchemeDelegate myColorSchemeDelegate) { myColorSchemeDelegate.updateDelegate(); } } }
updateGlobalScheme
242,884
void () { setDelegate(myCustomGlobalScheme == null ? EditorColorsManager.getInstance().getGlobalScheme() : myCustomGlobalScheme); }
updateDelegate
242,885
void (@NotNull EditorColorsScheme delegate) { super.setDelegate(delegate); float globalFontSize = getDelegate().getEditorFontSize2D(); myMaxFontSize = Math.max(EditorFontsConstants.getMaxEditorFontSize(), globalFontSize); reinitFonts(); }
setDelegate
242,886
void (int fontSize) { setConsoleFontSize((float)fontSize); }
setConsoleFontSize
242,887
void (float fontSize) { if (fontSize == super.getConsoleFontSize2D()) { myConsoleFontSize = FONT_SIZE_TO_IGNORE; } else { myConsoleFontSize = fontSize; } reinitFontsAndSettings(); }
setConsoleFontSize
242,888
int () { return (int)(getConsoleFontSize2D() + 0.5); }
getConsoleFontSize
242,889
float () { return myConsoleFontSize == FONT_SIZE_TO_IGNORE ? super.getConsoleFontSize2D() : myConsoleFontSize; }
getConsoleFontSize2D
242,890
float () { return myLineSpacing == null ? super.getLineSpacing() : myLineSpacing; }
getLineSpacing
242,891
void (float lineSpacing) { float oldLineSpacing = getLineSpacing(); float newLineSpacing = EditorFontsConstants.checkAndFixEditorLineSpacing(lineSpacing); myLineSpacing = newLineSpacing; if (oldLineSpacing != newLineSpacing) { reinitSettings(); } }
setLineSpacing
242,892
boolean () { return myUseLigatures == null ? super.isUseLigatures() : myUseLigatures; }
isUseLigatures
242,893
void (boolean useLigatures) { myUseLigatures = useLigatures; reinitFontsAndSettings(); }
setUseLigatures
242,894
boolean (@NotNull EditorImpl editor, @NotNull Transferable t, int dropAction) { EditorDropHandler dropHandler = editor.getDropHandler(); if (Registry.is("debugger.click.disable.breakpoints")) { try { if (t.isDataFlavorSupported(GutterDraggableObject.flavor)) { Object attachedObject = t.getTransferData(GutterDraggableOb...
handleDrop
242,895
Transferable (JComponent c) { return null; }
createTransferable
242,896
TransferHandler () { return transferHandlerStub; }
getTransferHandler
242,897
EditorImpl (@NotNull JComponent comp) { if (comp instanceof EditorComponentImpl editorComponent) { return editorComponent.getEditor(); } return ((EditorGutterComponentImpl)comp).getEditor(); }
getEditor
242,898
boolean (@NotNull TransferSupport support) { Component comp = support.getComponent(); return comp instanceof JComponent && handleDrop(getEditor((JComponent)comp), support.getTransferable(), support.getDropAction()); }
importData
242,899
boolean (@NotNull JComponent comp, DataFlavor @NotNull [] transferFlavors) { EditorImpl editor = getEditor(comp); EditorDropHandler dropHandler = editor.getDropHandler(); if (dropHandler != null && dropHandler.canHandleDrop(transferFlavors)) { return true; } //should be used a better representation class if (Registry.i...
canImport