Skip to content

Commit 4244879

Browse files
authored
Fix issue with Editor Factory through
1 parent 104fc98 commit 4244879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jetbrains/src/main/java/com/neueda/jetbrains/plugin/graphdb/jetbrains/component/highlighter/QueryHighlighterComponentImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class QueryHighlighterComponentImpl implements QueryHighlighterComponent
1515

1616
@Override
1717
public void initComponent() {
18-
EditorFactory editorFactory = ApplicationManager.getApplication().getComponent(EditorFactory.class);
18+
EditorFactory editorFactory = ApplicationManager.getApplication().getService(EditorFactory.class);
1919

2020
syncedElementHighlighter = new SyncedElementHighlighter();
2121
queryHighlighterCaretListener = new QueryHighlighterCaretListener(syncedElementHighlighter);

0 commit comments

Comments
 (0)