From 57fa2db5dd842e822731f732f01efae03a79089c Mon Sep 17 00:00:00 2001 From: Dmitry Batrak Date: Mon, 19 May 2014 13:00:50 +0400 Subject: [PATCH] fix tests --- .../src/com/intellij/testFramework/EditorTestUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/testFramework/src/com/intellij/testFramework/EditorTestUtil.java b/platform/testFramework/src/com/intellij/testFramework/EditorTestUtil.java index 41057aacf23f..bbd5734afd79 100644 --- a/platform/testFramework/src/com/intellij/testFramework/EditorTestUtil.java +++ b/platform/testFramework/src/com/intellij/testFramework/EditorTestUtil.java @@ -97,7 +97,7 @@ public class EditorTestUtil { public static void performPaste(Editor editor) { EditorActionManager actionManager = EditorActionManager.getInstance(); EditorActionHandler actionHandler = actionManager.getActionHandler(IdeActions.ACTION_EDITOR_PASTE); - actionHandler.execute(editor, DataManager.getInstance().getDataContext()); + actionHandler.execute(editor, null, DataManager.getInstance().getDataContext()); } public static List getAllTokens(EditorHighlighter highlighter) {