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

Lexer extension is ignored #360

Open
endo64 opened this issue Dec 7, 2023 · 2 comments
Open

Lexer extension is ignored #360

endo64 opened this issue Dec 7, 2023 · 2 comments

Comments

@endo64
Copy link

endo64 commented Dec 7, 2023

I'm using portable version. I set extension to m for Matlab files in Configure Style window, I also set c;cpp;h;hpp for C/C++.

But whenever I open an .m (Matlab) file it opens it with C/C++ lexer.
When I open Configure Style window, I see that c;cpp;h;hpp is not saved for C/C++.

@stefankueng
Copy link
Owner

you don't have to set m for Matlab files, that's the default. The same for c;cpp;h;hpp.
That's also why those are not saved: only what is different than the default is saved.

I can't figure out why your file would open with the c/c++ lexer though. Please check the userconfig file (for portable version in the same dir as the exe). In there should be an entry that somehow assigns m files to the c/c++ lexer.

@endo64
Copy link
Author

endo64 commented Jan 18, 2024

I think it somehow cannot save configuration settings and silently crashes.
Because I saw many crahsdumps about BowPad.
I'll look into it and let you know.

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