Hi,
I can confirm some problems in code explorer in PSPad 5; with the mentioned XML
sample file:
https://msdn.microsoft.com/en-us/library/ms762271(v=vs.85).aspx

In PSPad 4.6.2 parsing the xml  in code explorer runs instantly, as well as
refreshing after deleting some element.

In  PSPad 5 (243) I can see a rather long delay on each refreshing the code
explorer, both after deleting some elements but even without changes in the
code.
Even for such 4,5 kB short sample the parsing and freeze of the aditor takes
over 8 minutes on an older laptop (Win7 64bit, 4 GB RAM)
The process of PSPad.exe takes 25% (i.e. the maximum load for 4 (virtual)
cores)

It might be somehow specific, as the delay didn't happen on some other XML
samples (or parts of the sample) I tried.
If I add the "book" elements of the sample individually and refresh the explorer
each time, there starts to be a delay of a few seconds at 9th item (bk109) and
the delay increases rapidly on each next added "book".
It seems, there might be some excessive parsing, regex backtracking or similar.

vbr

-- 
<http://forum.pspad.com/read.php?6,69090,69196>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem