Page 1 of 1
purebasic IDE “Format indentation” bug
Posted: Fri Feb 14, 2020 7:19 am
by diskay
An attempt to use "Format indentation" on the following code produced strange results:
It looks like this
Re: purebasic IDE “Format indentation” bug
Posted: Fri Feb 14, 2020 7:45 am
by BarryG
Doesn't do that here. Try it with a default PureBasic Prefs file.
Re: purebasic IDE “Format indentation” bug
Posted: Fri Feb 14, 2020 10:32 am
by breeze4me
Confirmed on Windows 10 Korean version.
In addition, the line continuation has the indentation bug on Korean Windows.
Code: Select all
Debug #PB_Compiler_Procedure + "한:" +
hWnd
Debug #PB_Compiler_Procedure + "asdf:" +
hWnd
Re: purebasic IDE “Format indentation” bug
Posted: Fri Feb 14, 2020 10:40 am
by Mijikai
What PB Versions have those issues?
Re: purebasic IDE “Format indentation” bug
Posted: Fri Feb 14, 2020 10:54 am
by breeze4me
Mijikai wrote:What PB Versions have those issues?
Tested it in PB 5.60, 5.71, 5.72 b1.
Re: purebasic IDE “Format indentation” bug
Posted: Sat Nov 07, 2020 1:05 am
by diskay
I hope someone can see it
Re: purebasic IDE “Format indentation” bug
Posted: Sat Nov 07, 2020 4:10 am
by BarryG
Still can't replicate it here. Did you try it with a default PureBasic prefs file like I asked?
Re: purebasic IDE “Format indentation” bug
Posted: Thu Nov 19, 2020 8:41 am
by diskay
I've found the problem
It is located in:
https://github.com/fantaisie-software/p ... er.pb#L421
PureBasicIDE/ SourceParser.pb
line 421-430,433
Delete these lines and it's OK