1. Bug in Win32Lib IDE - Paste
I've run into a problem pasting code in the Win32Lib IDE code editor. When
pasting multiple lines of text, the program enters an infinite loop and
freezes up.
The problem appears is in ide_edit.ew, around line 2272:
hit = 1
while hit do
for i=1 to length(s) do
hit=0
...
end for
end while
In the '...' portion, two things happen:
1. hit = 1
2. s = ""
As a result, when it falls out of the for loop, it never re-enters it, but
never exits the while loop.
Setting the flag outside the loop (as is done in other parts of the code)
seems to take care of the problem:
hit=0
for i=1 to length(s) do
Thanks!
-- David Cuny