PB5.1b4 - IDE folding indicator not updated

Post bugs related to the IDE here
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

PB5.1b4 - IDE folding indicator not updated

Post 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
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Olby
Enthusiast
Enthusiast
Posts: 461
Joined: Mon Jan 12, 2009 10:33 am
Contact:

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

Post by Olby »

Confirmed, I have experienced the same issue with beta 4.
Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

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

Post 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!:


|


|
DE AA EB
Fred
Administrator
Administrator
Posts: 16623
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post by Fred »

Does it still happen ? Could you post the steps to repoduce it ?
User avatar
Bisonte
Addict
Addict
Posts: 1226
Joined: Tue Oct 09, 2007 2:15 am

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

Post 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)
PureBasic 6.04 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

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

Post 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
sorry for my bad english
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

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

Post 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.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Korolev Michael
Enthusiast
Enthusiast
Posts: 199
Joined: Wed Feb 01, 2012 5:30 pm
Location: Russian Federation

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

Post by Korolev Michael »

Confirmed
Former user of pirated PB.
Now registered user :].
freak
PureBasic Team
PureBasic Team
Posts: 5929
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

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

Post 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.
quidquid Latine dictum sit altum videtur
Post Reply