vsch / idea-multimarkdown

Markdown language support for IntelliJ IDEA.
https://plugins.jetbrains.com/plugin/7896-markdown-navigator
Apache License 2.0
813 stars 129 forks source link

Can't search text in preview #805

Open ghost opened 4 years ago

ghost commented 4 years ago

Ctrl + F doesn't work in preview window.

vsch commented 4 years ago

@fctorial, why would you do that instead of searching in the markdown document?

The preview is not a full fledged browser page and is there for visual presentation. Some convenience features were added, such as click synchronization to source, but it is not intended for more than giving visual results of markdown conversion to HTML.

ghost commented 4 years ago

@vsch I see. In my case it's for readmes. Editing a readme is a very rare task. When I open the readme of an existing project, usually it's because I want information about the project (compiling, dependencies). It would be nice to be able to search for that info.

vsch commented 4 years ago

@fctorial, I will look into adding it but only for JavaFX preview browser. It is JavaFX with JavaScript enabled so the functionality should be fairly easy to add.

Swing browser would take more effort and I only keep that for fallback for IDEs which do not have JavaFX bundled, like Android Studio.