PB 5.42 LTS Code Folding end of block is wrong

Post bugs related to the IDE here
uwekel
Enthusiast
Enthusiast
Posts: 740
Joined: Sat Dec 03, 2011 5:54 pm
Location: Oldenburg (Germany)

PB 5.42 LTS Code Folding end of block is wrong

Post by uwekel »

Hi,

as you can see in the screenshot, the CompilerEndIf code folding end is not found:
Image

Code: Select all

CompilerIf #PB_Compiler_OS = #PB_OS_Linux
   
  Import ""
  EndImport
  
CompilerEndIf
If you remove or comment out the Import/EndImport inside, everything is fine.

Regards
Uwe
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 796
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

Re: PB 5.42 LTS Code Folding end of block is wrong

Post by Zebuddi123 »

Hi uwekel check you if you have EndImport defined in prefs/folding/folding end keywords but Import missing from the prefs/folding/folding start keywords

This has caught me out a few times :)

Zebuddi. :)
malleo, caput, bang. Ego, comprehendunt in tempore
uwekel
Enthusiast
Enthusiast
Posts: 740
Joined: Sat Dec 03, 2011 5:54 pm
Location: Oldenburg (Germany)

Re: PB 5.42 LTS Code Folding end of block is wrong

Post by uwekel »

Thank you, Zebuddi!
That was it :)
ImportC does exist, but not so Import. Maybe it is a missing pre-defined value?
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Post Reply