stefankueng/BowPad

Lexer extension is ignored

endo64 opened this issue · 2 comments

endo64 commented

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++.

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 commented

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.