jn-npp-plugin icon indicating copy to clipboard operation
jn-npp-plugin copied to clipboard

uncnown exeption, view.lang > Editor.langs.length

Open trdm opened this issue 4 years ago • 1 comments

Describe the bug A clear and concise description of what the bug is. name=TypeError message='undefined' - есть null или не является объектом number=-2146823281 description='undefined' - есть null или не является объектом Screenshot_1

Баг? Фича?

trdm avatar Oct 09 '21 07:10 trdm

It is a bug. The array of languages is static. The list of supported languages gets longer from one version of Npp to another. So the current language can be out of range on newer Npp version.

We have to adapt the static list in jN to match with Npp's one.

I cannot promise to do it soon. It would be great if some one will prepare PR.

sieukrem avatar Oct 09 '21 22:10 sieukrem