mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-170688 Assertion failed [just made logging more informative]
Signed-off-by: Vassiliy.Kudryashov <Vassiliy.Kudryashov@jetbrains.com>
This commit is contained in:
@@ -4265,7 +4265,7 @@ public final class EditorImpl extends UserDataHolderBase implements EditorEx, Hi
|
||||
editor.putUserData(LAST_PASTED_REGION, null);
|
||||
|
||||
EditorActionHandler pasteHandler = EditorActionManager.getInstance().getActionHandler(IdeActions.ACTION_EDITOR_PASTE);
|
||||
LOG.assertTrue(pasteHandler instanceof EditorTextInsertHandler);
|
||||
LOG.assertTrue(pasteHandler instanceof EditorTextInsertHandler, String.valueOf(pasteHandler));
|
||||
((EditorTextInsertHandler)pasteHandler).execute(editor, editor.getDataContext(), () -> t);
|
||||
|
||||
TextRange range = editor.getUserData(LAST_PASTED_REGION);
|
||||
|
||||
Reference in New Issue
Block a user