Posted @discuss by Philippe Poilbarbe:
Sometimes (I can't reproduce it on a well known
manner), the 5.2 version enters an infinite loop
(consumming about 100% cpu, but doing nothing visible).
It is when typing in text, suddenly everything is
freezed (only NEdit, it is not the X server).
As I can see, it has arrived only when editing
Perl files with syntax highlighting on.
Two times it was when typing text between the
parenthesis (prototype or localvar)
sub MyFunc ($$)
my ($LocalVar) = @_
It is true on Solaris and Linux/X86 with the
binary version got from the NEdit site (compiled
on 25-Oct-2001). For other patforms I don't know
since I do not edit on them very often.
IMO it seems to come from the highlighting engine
with the many interdependant regexps of the perl
but I can make a mistake.
I know that a sentence like 'something goes
wrong' is not very helpful, but I cannot
give a way to reproduce it systematically.
I did restart with 5.2 with an erased .nedit file
and reintroduce manually the modifications for some
default languages (C, Fortran, Perl).
For perl there is just one addition, a highlight for
'special comment' used by a tool I wrote for
autodocumenting (not pod):
CLS special comment:"^\\s*#p":"$"::Special Comment::\n\
Placed just before the 'comment' entry
It is very context sensitive. I thought I had
a file which seemed to reproduce the problem
systematically but I did not have time to investigate
and it has been left away.
Changing one character before the location which
produces the loop, is enough to have the problem
The problem is not (yet) reproducable, but it is
serious enough to make sure that it doesn't get out