How to use nested editor?
已回答
Hello.
I want to know how this Markdown plugin is implemented.

I imitated and wrote one, but there is a problem.

There are no prompts when writing code, and no prompts when typing errors.
Thanks.
请先登录再写评论。
I'm sorry, but I don't get your question. Can you provide more details regarding your problem?
Markdown implementation can be found here:
https://github.com/JetBrains/intellij-community/blob/master/plugins/markdown/src/org/intellij/plugins/markdown/ui/preview/MarkdownSplitEditor.java
>There are no prompts when writing code, and no prompts when typing errors.
Sometimes this problem is caused by missing DataContext in custom FileEditor.
You might need to regster DataProvider and delegate to 'com.intellij.openapi.fileEditor.FileEditorManager#getData' method (See https://github.com/JetBrains/intellij-community/blob/f62d6510d64891810e96019dea7f2b8289e93080/platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/text/TextEditorComponent.java#L246 as an example).