Problem replacing huge number of characters
-
Hello everybody
I use Notepad++ in bioinformatic to manage large files of text.
Previously I had changed large files with A/C/G/T into 1/2/3/4 to use the data with different programs without any disturbance; but now, I’m using Notepad v 8.4.6 (64 bit), the program hang after serveral millons of changes of one leter to one number.
It seems that the problem is in the graphic implementation because the program make the change quite well (I can see the results in blue in the replace window) but when updatiting the screen is when the program hang, and it never finish to refresh the screen reflecting the changes commited. If I interrupt the program and restart it, it shows me the results correctly, from the cache, and I can move through the file without problems. -
@José-Federico-Sánchez-Sevilla ,
Bioinformatic data is often huge files. Above about 200MB, Notepad++ starts having difficulty with large files, because of all the “extra” stuff that Notepad++ is trying to do, like syntax highlighting, and “smart match”, line-wrap, and other similar features.
At some point, Notepad++ developers put in a hook that above 200MB, it would arbitrarily turn off syntax highlighting, but not the other features, which helped some, but not enough for some users. (Whereas other users hated that their file would syntax-highlight at 190MB but not at 210MB.)
In the upcoming v8.4.7, there is a new tab on the Settings>Preferences dialog for changing performance settings, including changing whether it’s at 200MB or some other threshold, and the ability to enable or disable other high-performance-drag features so that you can decide how much to use. You might want to grab the release candidate for v8.4.7 and see if those options allow you to improve the performance enough to be usable for you.