flat assembler
Message board for the users of flat assembler.
Index
> Main > block comment to fasmw |
do you want block comment in fasmw? | ||||||||||||||
|
||||||||||||||
Total Votes : 18 |
Author |
|
Tomasz Grysztar 14 May 2005, 19:58
Already discussed here: http://board.flatassembler.net/topic.php?t=2707
|
|||
14 May 2005, 19:58 |
|
donkey7 15 May 2005, 07:49
why it is not yet implemented???
features like block-comment (without syntax changing) or scripting (templates with variables, eg. %variable% that can be replaced with proper text when running template) was implemented in qeditor (in masm) long time ago. |
|||
15 May 2005, 07:49 |
|
madmatt 15 May 2005, 08:46
someone had already made a macro to do block commenting, here is the code:
Code: ;use to comment out source code the easy way ;It's pretty simple, and works kind of like how Pascal comments do. ;So now you could do: ;code: ;------------------------------------------------------------------- ;COMMENT { ;Something here ;Or code not used ;It works! ;} macro COMMENT [args] { local useless macro useless args } |
|||
15 May 2005, 08:46 |
|
Tomasz Grysztar 15 May 2005, 09:12
Oh, I see I misunderstood you, you mean block commenting as a feature of editor, not assembler itself (you should have posted in "IDE Development" forum to avoid such confusion - this is where FASMW's editor is usually discussed).
I suggest you look at Fresh, the FASMW's internal editor was planned to be very simple and perhaps will never have many such features. Though I planned also to add plugin support to it (and then you'd just add block commenting as a plugin), however I still have to dedicate much more time to develop the assembler, that's why editor is updated so rarely. Anyway when I'm finished with the new assembler features I'm now working on and I finally have some time for the editor, the plugin support is the first planned thing to do. |
|||
15 May 2005, 09:12 |
|
UCM 16 May 2005, 22:28
madmatt: i think you just modified my code, my code was simpler.
Code: comment fix macro CommentBlock comment { Happyness } P.S. i know i spelled happyness wrong. _________________ This calls for... Ultra CRUNCHY Man! Ta da!! *crunch* |
|||
16 May 2005, 22:28 |
|
THEWizardGenius 17 May 2005, 14:25
That works, but IMO we should have a block comment- it makes it easier. ";" is fine for some things but when you have to comment out 30 lines of code (for an arbitrary reason) it takes too long to type ";" on each line. I know from personal experience. I tried adding a block comment to the assembler itself, but that didn't work out very well...
|
|||
17 May 2005, 14:25 |
|
Tomasz Grysztar 17 May 2005, 14:32
Note also this thread: http://board.flatassembler.net/topic.php?t=2695
|
|||
17 May 2005, 14:32 |
|
donkey7 19 May 2005, 20:06
i think that plugin based fasmw ide will completely solve problems like this.
fasmw ide should pass entire text buffer and selection range to the plugin. this would be the most flexible way to do almost everything. ----------------- sorry for bad english |
|||
19 May 2005, 20:06 |
|
Tomasz Grysztar 20 May 2005, 00:22
Actually fasmw will pass the window handles (with fully documented message interfaces) of main window and each edit window to plugin callbacks - I have already designed a very nice plugin interface for fasmw, it's just the implementation that is left to do.
|
|||
20 May 2005, 00:22 |
|
donkey7 20 May 2005, 14:19
Ok, I'm waiting.
---------------- Keep coding |
|||
20 May 2005, 14:19 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.