Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close and Reopen Affected Editors #909

Open
jcarlson opened this issue Apr 5, 2021 · 1 comment
Open

Close and Reopen Affected Editors #909

jcarlson opened this issue Apr 5, 2021 · 1 comment

Comments

@jcarlson
Copy link

jcarlson commented Apr 5, 2021

Every time I open a Markdown file, I immediately get this prompt from RubyMine:

Screen Shot 2021-04-05 at 11 01 29 AM

All I did to replicate this issue was File > New File > something.md.

I have tried resetting all settings in the Markdown preference pane. What am I doing wrong?

RubyMine: 2020.03.2
Markdown Navigator Enhanced: 3.0.202.112

@vsch
Copy link
Owner

vsch commented Aug 29, 2021

I suspect this is caused by Markdown Navigator changing the editor highlighter after the file is opened because the standard lexer highlighter is slow for markdown but the external highlighter does not work for read-only files.

So all files are initially opened with lexer highlighter and then changed if needed. There is limited information about the read-only state when the editor is first created so this convoluted approach was used.

JetBrains must have changed the internal mechanism in newer releases to cause a problem with the implemented approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants