flat assembler
Message board for the users of flat assembler.

Index > IDE Development > fasmw space/tab

Author
Thread Post new topic Reply to topic
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji

When Fasmw loads a file,
Fasmw converts all spaces to tabs.
Is it possible to avoid this when fasms saves the file ?

_________________
I am not young enough to know everything (Oscar Wilde)- Image
Post 23 Oct 2010, 23:06
View user's profile Send private message Send e-mail Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7781
Location: Kraków, Poland
Tomasz Grysztar
When fasmw loads a file, it converts all tabs to spaces (not the other way round), and this is another piece of DOS Navigator's herigate in the architecture of AsmEdit control. DN had an option "Optimal fill on saving", which allowed to choose whether whitespace should be saved only using space characters, or with the optimal amount of tabs and spaces. fasmw uses the option that has exactly the same name, for the same purpose.
Post 23 Oct 2010, 23:11
View user's profile Send private message Visit poster's website Reply with quote
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji
when fasmw LOADS and after SAVES a file,
fasmw convert all spaces to tabs.

with WinHex,

my file "before" : 76 octets
my file "after" : 24 octets (all spaces ---> tabs)

my file has been modified and no longer contains any spaces.
how disable this option Tomasz ? (thank you)

_________________
I am not young enough to know everything (Oscar Wilde)- Image
Post 23 Oct 2010, 23:20
View user's profile Send private message Send e-mail Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7781
Location: Kraków, Poland
Tomasz Grysztar
ouadji wrote:
how disable this option Tomasz ? (thank you)
It is in the "Options" menu. And it IS documented already.
Post 23 Oct 2010, 23:24
View user's profile Send private message Visit poster's website Reply with quote
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji

yesss Rolling Eyes

sorry for this stupid question !!!.
There are times when one would like to disappear! Wink

(That said, thank you for your quick reply and your explanation)

_________________
I am not young enough to know everything (Oscar Wilde)- Image
Post 23 Oct 2010, 23:28
View user's profile Send private message Send e-mail Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.