Page 1 of 1

PB5.1b4 - IDE folding indicator not updated

Posted: Sat Jan 19, 2013 11:26 pm
by c4s
Whenever I delete larger code parts which are folded, the indicator line(s) on the left refuse to update properly. Toggling it with F4 doesn't help either... Here is a quick example image:
Image

Re: PB5.1b4 - IDE folding indicator not updated

Posted: Sun Jan 20, 2013 2:44 am
by Olby
Confirmed, I have experienced the same issue with beta 4.

Re: PB5.1b4 - IDE folding indicator not updated

Posted: Sun Jan 20, 2013 9:26 am
by davido
PB510-b4 and Windows 7-64-bit.

Persistent vertical line left after deleting a procedure; doesn't matter if its closed or open.
If another procedure written by the | it pokes through the + or - depending upon whether the procedure is open or closed.

I seem to recall this happening with 5.00 through 5.10b4

I work round this by closing PB! and then re-running it.

Looks like this after a while!:


|


|

Re: PB5.1b4 - IDE folding indicator not updated

Posted: Thu Aug 15, 2013 10:52 pm
by Fred
Does it still happen ? Could you post the steps to repoduce it ?

Re: PB5.1b4 - IDE folding indicator not updated

Posted: Fri Aug 16, 2013 1:11 am
by Bisonte
Its since PB5 on my system. (5.00-5.20b10)

Code: Select all

;{ here some code
Macro Lala(x)
  ; Nothing
EndMacro
;}
(In Preferences set Macro and EndMacro to folding Words....)

Mark the macro block between the comments and delete it wtih backspace.... you will see very strange folding issues...
on both IDE x86 and x64 (Windows)

Re: PB5.1b4 - IDE folding indicator not updated

Posted: Fri Aug 16, 2013 5:34 am
by Josh
Fred wrote:Does it still happen? Could you post the steps to repoduce it ?
Can confirm, the problem still exist (Pb 5.20b8). Sorry, can't give any example to reproduce the problem, I can't see any system.

I can't confirm the problem with Bisonte's code, it seems to me, the problem occur only with longer codes. I use only single folding steps (no folding inside folding).

At time, the once way to correct the problem is to copy all the code, delete all and paste the code again in the IDE.

josh

Re: PB5.1b4 - IDE folding indicator not updated

Posted: Fri Aug 16, 2013 9:23 am
by c4s
The problem still exists using PB5.20b10.

Code to reproduce it:

Code: Select all

Macro Test()
EndMacro
- Place the cursor in the middle of "EndMacro", press enter, then backspace. Now the last indicator (line 2) should look opened like there is something coming after it. Triggering the folding update routine by creating a new line somewhere else fixes it.

Another one:

Code: Select all

;{
Procedure Test1()
EndProcedure

Procedure Test2()
EndProcedure
;}
- Select "Test1()" (including Procedure and EndProcedure) and delete it.
- Make sure that the last line is empty, so 8 in total. Now select everything (from ;{ to ;}) and delete it.

Re: PB5.1b4 - IDE folding indicator not updated

Posted: Fri Aug 16, 2013 10:33 am
by Korolev Michael
Confirmed

Re: PB5.1b4 - IDE folding indicator not updated

Posted: Tue Nov 12, 2013 1:45 am
by freak
All fixed except the following one. Dunno yet what causes this.
c4s wrote:Code to reproduce it:

Code: Select all

Macro Test()
EndMacro
- Place the cursor in the middle of "EndMacro", press enter, then backspace. Now the last indicator (line 2) should look opened like there is something coming after it. Triggering the folding update routine by creating a new line somewhere else fixes it.