You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows, NPP latest version, 32bit. Latest plugin version (1.2312).
The bug is only with 32bit NPP; not reproducible on 64bit npp (same version of NPP & plugin).
Select all, with the entire line selected (but it must be a single line):
apply JSFormat: Causes NPP to crash hard
It works correctly with the selection if a single newline is added to the end.
Paste the JSON into a blank document, single line, add one newline (Unix - LF), Select All.
Plugin JSTool -> JSFormat with this JSON line + newline selected:
The text was updated successfully, but these errors were encountered:
Thanks for looking into it!
I cannot reproduce it anymore, either 😓
I only realized I still had the 32bit version when making this issue, and I replaced it with 64bit afterwards. I now reinstalled the 32bit version, installed the plugins, and could not reproduce it again.
Anything more is just guessing... It might be that something went wrong with one of the updates, I've had that 32bit installation for many years and I just kept upgrading NPP and the plugins.
Windows, NPP latest version, 32bit. Latest plugin version (1.2312).
The bug is only with 32bit NPP; not reproducible on 64bit npp (same version of NPP & plugin).
Test JSON line:
Plugin JSTool -> JSFormat: formats JSON
![image](https://private-user-images.githubusercontent.com/3235397/334356058-4d6ab5d0-85db-41ca-bb7d-06669d393d1e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NTU4NDQsIm5iZiI6MTcyNTc1NTU0NCwicGF0aCI6Ii8zMjM1Mzk3LzMzNDM1NjA1OC00ZDZhYjVkMC04NWRiLTQxY2EtYmI3ZC0wNjY2OWQzOTNkMWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDhUMDAzMjI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDBmZmI2ZTAwODc2MDVkYWJiNzU0NjRkM2NlMzFjMGNjNjc0YjkyZGIxODQ2ZDBhMGZmMjYzYzZhMThiMDhiOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.4-V36EqQFMcpXjxzoo9WmYUbUQZxRf7mjqcLl97BTB4)
(Works correctly)
Select all, with the entire line selected (but it must be a single line):
![image](https://private-user-images.githubusercontent.com/3235397/334357935-56e10be3-68a1-49f9-a8d7-c708bbd661e9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NTU4NDQsIm5iZiI6MTcyNTc1NTU0NCwicGF0aCI6Ii8zMjM1Mzk3LzMzNDM1NzkzNS01NmUxMGJlMy02OGExLTQ5ZjktYThkNy1jNzA4YmJkNjYxZTkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDhUMDAzMjI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDQyZjY2MGZmODg2NWNiZGE1ZTFiMDE1NDFjNWM5NDZlZTYxYjFhN2RiNzZmNzQ2YjU2MWE3MGI3NmNiNmRiZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.0t2UVUxHhnxSD3qsilx0Wwc3vYf4t60DONHMHkLMwSg)
apply JSFormat: Causes NPP to crash hard
Paste the JSON into a blank document, single line, add one newline (Unix - LF), Select All.
Plugin JSTool -> JSFormat with this JSON line + newline selected:
The text was updated successfully, but these errors were encountered: