-
Notifications
You must be signed in to change notification settings - Fork 17
Open torrent file -> not responding #25
Comments
You will have to provide alot more information for me to even begin to guess what's wrong...such as Notepad++ debug info, version of the plugin you are using, and an example file since I don't use BitTorrent at all so I'm not familiar with how that file is structured. |
Torrent file is binary file. I think that's the problem. |
So if it is a binary file then I'm not sure there is anything that can be done on the plugin side of things. |
Can you disable the plugin when opening binary file? |
Why are you intentionally opening a binary file exactly? And no, there is no way to determine if a file is binary. |
Copying some text from it
My vs code plugin survive by disabling itself when encounter long line or big file. |
That is much more possible than determining if a file is binary. I'd assume long lines would be the cause of the slowness rather than the size of the file since it intentionally doesn't iterate the entire file when calculating tabstops. I don't have my development machine set up currently so won't be able to make any changes soon but some hueristics to check line length sounds reasonable. |
While this plugin is active, opening ≥ 5KB torrent file will make notepad++ not responding.
I think it's not happened before, but I can't find the safe version, so maybe just my imagination.
Windows 10 64 bit.
The text was updated successfully, but these errors were encountered: