flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Adjustable Indent Size Mod (FASMW)

Author
Thread Post new topic Reply to topic
dazzit



Joined: 07 Jan 2007
Posts: 9
Location: Devon, UK
dazzit 07 Jan 2007, 20:57
Tomasz - Firstly may I say you are a Magnificent Pagan God.
Secondly, your most unworthy of faithful subjects would like to humbly submit a modification to the IDE editor.

I have always preferred to indent by 4 characters. Thusly I've spent about 2 hours today modifying FASMW.ASM and EDIT.INC to allow the changing of indents to an arbritrary size.
A new option string in FASMW.INI called "IndentSize" has been added and an extra combo box has been put on the Appearance dialog.

The sources used are from v1.67.18 (Dec 27, 2006)
I've marked all changes as "; DS 7th Jan 2007"

It would give a real kick to my ego if it was put in the next version Very Happy


Description:
Download
Filename: EDIT.INC
Filesize: 19.96 KB
Downloaded: 661 Time(s)

Description:
Download
Filename: FASMW.ASM
Filesize: 88.07 KB
Downloaded: 661 Time(s)

Post 07 Jan 2007, 20:57
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 07 Jan 2007, 23:04
Perhaps you mean tabulation size? Confused AsmEdit doesn't have such thing as "indent size", the indents are automatic based on the indent of line where you are.
Post 07 Jan 2007, 23:04
View user's profile Send private message Visit poster's website Reply with quote
dazzit



Joined: 07 Jan 2007
Posts: 9
Location: Devon, UK
dazzit 08 Jan 2007, 10:15
If you have smart tabulation and automatic indents on and don't have any blank space on previous lines, it's not a problem.
Otherwise it can be a bit of a pain in the backside at the end of a line for comments to press tab followed by 4 backspaces or press space 4 times when you're on a roll and coding away at a rapid rate of knots.
It's useful at least to me and a feature found in a lot of coding editors that doesn't cost much code overhead to implement.

I did forget to comment the "indentSize dd 8" variable though the symbol names maybe can be changed to avoid confusion over terminology.

I just thought it would be a nice cosmetic embellishment to an almost perfect product.
Post 08 Jan 2007, 10:15
View user's profile Send private message Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf 08 Jan 2007, 12:42
I may add this to fasmwadd when i have time.
Btw, welcome to the fasm forums dazzit.
Post 08 Jan 2007, 12:42
View user's profile Send private message MSN Messenger Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf 08 Jan 2007, 17:50
This is in the wrong message board section, someone move it to IDE Development.
Post 08 Jan 2007, 17:50
View user's profile Send private message MSN Messenger Reply with quote
dazzit



Joined: 07 Jan 2007
Posts: 9
Location: Devon, UK
dazzit 11 Jan 2007, 11:16
Quote:

This is in the wrong message board section, someone move it to IDE Development.

Many appologies. I should read the usage FAQ instead of showing off the size of my manhood.
Post 11 Jan 2007, 11:16
View user's profile Send private message Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf 12 Jan 2007, 06:20
Neutral
Post 12 Jan 2007, 06:20
View user's profile Send private message MSN Messenger Reply with quote
okasvi



Joined: 18 Aug 2005
Posts: 382
Location: Finland
okasvi 25 Jan 2007, 23:53
Only if this 'mod' would have existed six months ago when I went thru the pain of getting used to wide tabulation like fasmw has(8spaces)... -_-
Post 25 Jan 2007, 23:53
View user's profile Send private message MSN Messenger 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.