when pasting around folded code

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
gwgs
Posts: 87
Joined: Tue Nov 21, 2006 6:30 pm
Location: Auckland

when pasting around folded code

Post by gwgs » Thu Jul 03, 2008 12:44 am

using this sample code:
sample.pfx

Code: Select all

1 begin
   abdt
   abkdjk
   sdfjklsd
   sdjklsd
   sfjklsdf
end

2 begin
   abdt
   abkdjk
   sdfjklsd
   sdjklsd
   sfjklsdf
end

3 begin
   abdt
   abkdjk
   sdfjklsd
   sdjklsd
   sfjklsdf
end

5 begin
   abdt
   abkdjk
   sdfjklsd
   sdjklsd
   sfjklsdf
end

4 begin
5 begin   abdt
5 begin   abkdjk
5 begin   sdfjklsd
5 begin   sdjklsd
5 begin   sfjklsdf
5 beginend

5 begin
   abdt
   abkdjk
   sdfjklsd
   sdjklsd
   sfjklsdf
end


fold the first 4 blocks like so:

Code: Select all

1 begin ... end

2 begin ... end

3 begin ... end

4 begin ... end

5 begin
   abdt
   abkdjk
   sdfjklsd
   sdjklsd
   sfjklsdf
end
copy the 5th block and paste it between the 3rd and 4th blocks (or any of the other folded blocks), observe the results :(

Code: Select all

1 begin ... end

2 begin ... end

3 begin ... end

5 begin
   abdt
   abkdjk
   sdfjklsd
   sdjklsd
   sfjklsdf
end

4 begin
5 begin   abdt
5 begin   abkdjk
5 begin   sdfjklsd
5 begin   sdjklsd
5 begin   sfjklsdf
5 beginend

5 begin
   abdt
   abkdjk
   sdfjklsd
   sdjklsd
   sfjklsdf
end
first line of inserted block appends itself into the beginning of every line of the block below it

and undo corrupts code further. :( only solution is to abort and reload.

This problem has occurred in both python and powerflex folding routines.

:)

Grant

gwgs
Posts: 87
Joined: Tue Nov 21, 2006 6:30 pm
Location: Auckland

still occurring Jussi :(

Post by gwgs » Thu Jul 03, 2008 3:19 am

first sample code should have been:

Code: Select all

1 begin
   abdt
   abkdjk
   sdfjklsd
   sdjklsd
   sfjklsdf
end

2 begin
   abdt
   abkdjk
   sdfjklsd
   sdjklsd
   sfjklsdf
end

3 begin
   abdt
   abkdjk
   sdfjklsd
   sdjklsd
   sfjklsdf
end

4 begin
   abdt
   abkdjk
   sdfjklsd
   sdjklsd
   sfjklsdf
end

5 begin
   abdt
   abkdjk
   sdfjklsd
   sdjklsd
   sfjklsdf
end 
Tried with the new beta and I still get the same problem

Grant

jussij
Site Admin
Posts: 2458
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Thu Jul 03, 2008 11:23 pm

This will get fixed in the next Zeus patch ;)

Cheers Jussi

jussij
Site Admin
Posts: 2458
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Sat Aug 16, 2008 4:58 am

This bug has been fixed in the latest patch found here: http://www.zeusedit.com/forum/viewtopic.php?p=3976

Cheers Jussi

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 5 guests