When I delete all content from a huge file, Cudatext will freeze about 30 seconds.
I tested two version 1.211.0.0, 1.201. Both showed the same phenomenon.
here is the step how to triger the phenomenon:
1) open one huge file: 16.8M, 603469 lines
2) press keys:Ctrl+A
3) press key:Delete
then freeze about 30 seconds.
Anyone has the same issue?
freeze long time when delete the content from a huge file
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: freeze long time when delete the content from a huge file
I reproduced it. I took file torrent.cpp (11k lines), did Ctrl+A 'select all' and called 'duplicate lines' many times to get 600k lines.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: freeze long time when delete the content from a huge file
It will be fixed in the next update.
- fix: many seconds freezing when 'select all' + 'delete' runs in ~600K lines file (thanks @hycmos)
- fix: many seconds freezing when 'select all' + 'delete' runs in ~600K lines file (thanks @hycmos)
Re: freeze long time when delete the content from a huge file
Thanks for your fast debug.
I use Cudatext very much.
I use Cudatext very much.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: freeze long time when delete the content from a huge file
You are welcome.