Page 1 of 1

PB 5.42 LTS Code Folding end of block is wrong

Posted: Thu Mar 24, 2016 4:00 pm
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

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

Posted: Thu Mar 24, 2016 4:38 pm
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. :)

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

Posted: Thu Mar 24, 2016 5:40 pm
by uwekel
Thank you, Zebuddi!
That was it :)
ImportC does exist, but not so Import. Maybe it is a missing pre-defined value?