Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
72e33e84
Commit
72e33e84
authored
7 years ago
by
Dmitry Jemerov
Browse files
Options
Download
Email Patches
Plain Diff
Fix EditorActionPerformanceTest
parent
99bd5a6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/platform-api/src/com/intellij/openapi/editor/actionSystem/EditorAction.java
+3
-1
...om/intellij/openapi/editor/actionSystem/EditorAction.java
with
3 additions
and
1 deletion
+3
-1
platform/platform-api/src/com/intellij/openapi/editor/actionSystem/EditorAction.java
+
3
-
1
View file @
72e33e84
...
...
@@ -73,7 +73,9 @@ public abstract class EditorAction extends AnAction implements DumbAware {
Editor
editor
=
getEditor
(
dataContext
);
if
(
this
instanceof
LatencyAwareEditorAction
&&
editor
!=
null
)
{
String
actionId
=
ActionManager
.
getInstance
().
getId
(
this
);
LatencyRecorder
.
getInstance
().
recordLatencyAwareAction
(
editor
,
actionId
,
e
);
if
(
actionId
!=
null
)
{
LatencyRecorder
.
getInstance
().
recordLatencyAwareAction
(
editor
,
actionId
,
e
);
}
}
actionPerformed
(
editor
,
dataContext
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment