Identation problem [Solved]

Post bugs related to the IDE here
BarryG
Addict
Addict
Posts: 3320
Joined: Thu Apr 18, 2019 8:17 am

Re: Identation problem

Post 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.
AZJIO
Addict
Addict
Posts: 1360
Joined: Sun May 14, 2017 1:48 am

Re: Identation problem

Post by AZJIO »

Preferences -> Editor -> Tab Length = ?
Allen
User
User
Posts: 92
Joined: Wed Nov 10, 2021 2:05 am

Re: Identation problem

Post by Allen »

@BarryG, will prepare the video, working on it.

@AZJIO, Tab length is 2.

Image

Thanks
Allen
User
User
Posts: 92
Joined: Wed Nov 10, 2021 2:05 am

Re: Identation problem

Post by Allen »

BarryG,

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

I only show one of the condition it happens.

Thanks
BarryG
Addict
Addict
Posts: 3320
Joined: Thu Apr 18, 2019 8:17 am

Re: Identation problem

Post 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.
Allen
User
User
Posts: 92
Joined: Wed Nov 10, 2021 2:05 am

Re: Identation problem

Post 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
Allen
User
User
Posts: 92
Joined: Wed Nov 10, 2021 2:05 am

Re: Identation problem

Post 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
BarryG
Addict
Addict
Posts: 3320
Joined: Thu Apr 18, 2019 8:17 am

Re: Identation problem [Solved]

Post 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.
Post Reply