flat assembler
Message board for the users of flat assembler.
Index
> IDE Development > Added some cool features in FasmW IDE |
Author |
|
MCD 07 Dec 2004, 16:32
okasy, I discovered a bug in my "toggle comment" feature, but I atached a fixed version of asmedit.inc. The bug occured if some larger amount of longer lines were comment toggled. (has something to do with 248+8 byte editor structure). I simple used caret_line instead of caret_line_number for all performed row comparisions what resulted in wrong comparisions sometime because next(caret_line) is not always > current(caret_line),
but next(caret_line) > current(caret_line) works. I also changed the shortcut key from Ctrl+CK_DECIMAL to Ctrl+T because Ctrl+VK_DECIMAL only works if Num-lock is activated, while Ctrl+T do always work. _________________ MCD - the inevitable return of the Mad Computer Doggy -||__/ .|+-~ .|| || |
|||
07 Dec 2004, 16:32 |
|
MCD 07 Dec 2004, 16:38
Another thing: wouldn't it be wise to rather introduce block-comments into fasm instead of using a "toggle comment" feature? Like in PASCAL or C language!
But the problem is, that I have no idea what kind of special character Fasm should use since most ones are already used by other syntax elements. But reserved words for comments tend to be too long. Maybe something like ";_" and "_;" would go? (looks a bit strange) What's your opinion, Privalov? |
|||
07 Dec 2004, 16:38 |
|
Matrix 07 Dec 2004, 17:03
/* comment ? */
|
|||
07 Dec 2004, 17:03 |
|
MCD 07 Dec 2004, 17:05
perhaps? I don't know so exactly. I guess we should start a poll for it?!
Matrix, do you think the "paste bug" in FasmW is critical? It crashes under certain circumstances. Lokk at "IDE Development > Bug in FasmW's paste" |
|||
07 Dec 2004, 17:05 |
|
Matrix 07 Dec 2004, 17:08
go ahead,
i recomend /* coment block */ from C cause macros use {} from pascal there is an alterative: comment {i 'm a comment block} |
|||
07 Dec 2004, 17:08 |
|
MCD 07 Dec 2004, 17:14
okay, I will post a poll in the main-section now
|
|||
07 Dec 2004, 17:14 |
|
MCD 16 Dec 2004, 18:24
I found another bug. It occurs if a comment is toggled on a single line with
an empty selection. The IDE would crash in this case. Luckily, this bug is fixed now in the attached version of "ASMEDIT.INC". I simply wrote Code: ja toggle comment somewhere instead of Code: jae toggle_comment
_________________ MCD - the inevitable return of the Mad Computer Doggy -||__/ .|+-~ .|| || |
|||||||||||
16 Dec 2004, 18:24 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.