flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
comrade 16 Jul 2004, 15:56
8 is hardcoded into ASMEDIT, so is 256-character line. Privalov said he is working on it.
|
|||
![]() |
|
Tomasz Grysztar 16 Jul 2004, 16:17
However I was not planning to change the DOS-compatible tabbing behavior. But I might improve "Smart tabs" algorithm a bit, to scan not only the previous line to detect custom tab stops (for instance, all currently visible lines above the one with caret might be used).
|
|||
![]() |
|
comrade 17 Jul 2004, 02:21
I have "Smart tabulation" disabled, and FASMW puts caret at the first non-whitespace of the previous line. Imho, that's the best behaviour. I had a lot of frustration with "Smart tabulation".
|
|||
![]() |
|
Tomasz Grysztar 17 Jul 2004, 06:18
I was very used to this feature in the DOS days and so I'm sticking to it.
|
|||
![]() |
|
madmatt 17 Jul 2004, 07:41
Soooo, is the feature doable? Can I just change just a few lines of source code, or would it require a lot of changing? Could this be a feature in a future version of fasm for windows?
|
|||
![]() |
|
Tomasz Grysztar 17 Jul 2004, 08:44
At line 997 in ASMEDIT.INC you've got this code:
Code: .standard_tab: mov ecx,[.caret_position] and ecx,not 111b sub ecx,[.caret_position] add ecx,8 to get 4-space tabs, you can replace it with: Code: .standard_tab: mov ecx,[.caret_position] and ecx,not 11b sub ecx,[.caret_position] add ecx,4 |
|||
![]() |
|
madmatt 17 Jul 2004, 12:02
Ok, I'll give it a try when I have time.
Thanks, MadMatt |
|||
![]() |
|
madmatt 17 Jul 2004, 17:56
Well, found the time to test it, and it works good.
thanks Privalov MadMatt |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.