Page 1 of 1

Force uncapitalize inside EnableJS

Posted: Thu Sep 26, 2024 6:57 am
by Caronte3D
If you have "Enable case correction" active in the settings, it's keep if you paste some JavaScript code, I understand it, but if later I wrap that code with EnableJS/DisableJS or preceding with "!" the capitalize should be gone, otherwise all the "If", "Else"... broke the code.

Re: Force uncapitalize inside EnableJS

Posted: Thu Sep 26, 2024 7:11 am
by Peter
This should no longer happen with version 3.01.

viewtopic.php?t=2635

Re: Force uncapitalize inside EnableJS

Posted: Thu Sep 26, 2024 7:40 am
by Caronte3D
Yes and not :D
If you first create the EnableJS/DisableJS pair and write inside, it works ok, but if you paste first and then wrap the code, the capitalize is keep.

I can live with it, but... if you doesn't know that, the errors on the browser console makes you crazy :?

Re: Force uncapitalize inside EnableJS

Posted: Thu Sep 26, 2024 12:31 pm
by Fred
Well if you paste outside a JS block, it's handled like SB code which is expected.