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

Pretty Print/Pretty Print w line breaks error #32

Closed
DanLong opened this issue Feb 13, 2020 · 4 comments
Closed

Pretty Print/Pretty Print w line breaks error #32

DanLong opened this issue Feb 13, 2020 · 4 comments

Comments

@DanLong
Copy link

DanLong commented Feb 13, 2020

Good morning!

I am running 64 bit Notepad++ 7.8.4
XML plugin 3.0.1.0 unicode 64 bit

XML engine: MSXML

I installed the 3.0.1.0 plugin this morning, upgrading from 2.4.9.2

I attempted to use Pretty Print w/ line breaks on a 9k XML file, with no text selected. I got the error message below. Tried it on a 4k file, same result.

I tried Pretty Print, got the same error. I have not tried other features.

Error message:

PluginsManager::runPluginCommand Exception

string too long

The command works correctly if I select sections of XML, although there is some limit. I cannot select the entire file, for example.

Interesting. If I select everything but the XML and DOCTYPE declarations, the command works correctly, even on substantially larger XML files.

@morbac
Copy link
Owner

morbac commented Feb 13, 2020

Hi,

I couldn't reproduce the issue. Please can you share an example file ?
Thanks

@morbac
Copy link
Owner

morbac commented Feb 14, 2020

Thanks for the files.
I could locate the issue. This was an issue with indentation counter. I will fix it in next release.

@DanLong
Copy link
Author

DanLong commented Feb 14, 2020

Excellent, thanks. I'm going to delete the comment with the files.

@morbac
Copy link
Owner

morbac commented Feb 14, 2020

You can try with this version: https://github.com/morbac/xmltools/releases/tag/3.0.2.1

@morbac morbac closed this as completed Feb 14, 2020
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