Page 2 of 2

Re: Identation problem

Posted: Mon Feb 07, 2022 4:33 am
by BarryG
Can you try to record a short video to show it in realtime to us? Post it on imgur.com or something. It's hard for us to know exactly what you're doing that's causing it.

Re: Identation problem

Posted: Mon Feb 07, 2022 5:02 am
by AZJIO
Preferences -> Editor -> Tab Length = ?

Re: Identation problem

Posted: Mon Feb 07, 2022 11:16 am
by Allen
@BarryG, will prepare the video, working on it.

@AZJIO, Tab length is 2.

Image

Thanks

Re: Identation problem

Posted: Mon Feb 07, 2022 12:17 pm
by Allen
BarryG,

Please check the link below:
https://imgur.com/a/ssNv8Pm

I only show one of the condition it happens.

Thanks

Re: Identation problem

Posted: Tue Feb 08, 2022 10:09 pm
by BarryG
Thanks for the video. The bad news is that when I do exactly what you do, I don't get any indentation errors. It all works as expected.

Re: Identation problem

Posted: Wed Feb 09, 2022 3:07 am
by Allen
BarryG,

It seems my error cannot be reproduced by others, so definitely it is not a problem of IDE. I probably cannot find the root cause of this issue. It is only a small problem and I can simply ignore it as long as it is not caused by virus. I have made an virus scan use window defender and no problem was found. However, is there a way I can check the integrity of the purebasic files for sure?

Thanks for your help.

Allen

Re: Identation problem

Posted: Wed Feb 09, 2022 5:56 am
by Allen
Hi,

I finally found the probelm is related to a beta feature of window.
In Control Panel>Region>Administrative>Change System locale>Region Setting, uncheck the box: Beta: use unicode UTF-8 for worldwhile language support.

Uncheck this box (it was checked before) and the identation issue disappeared.

Thanks for all of your help.

Image

Re: Identation problem [Solved]

Posted: Wed Feb 09, 2022 9:34 am
by BarryG
This could be considered a bug/incompatibility of the IDE with Windows. Can a mod move this to the "Bugs - IDE" section? Thanks.