flat assembler
Message board for the users of flat assembler.
![]() |
do you want block comment in fasmw? | ||||||||||||||
|
||||||||||||||
Total Votes : 18 |
Author |
|
Tomasz Grysztar
Already discussed here: http://board.flatassembler.net/topic.php?t=2707
|
|||
![]() |
|
donkey7
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. |
|||
![]() |
|
madmatt
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 } |
|||
![]() |
|
Tomasz Grysztar
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. |
|||
![]() |
|
UCM
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* |
|||
![]() |
|
THEWizardGenius
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...
|
|||
![]() |
|
Tomasz Grysztar
Note also this thread: http://board.flatassembler.net/topic.php?t=2695
|
|||
![]() |
|
donkey7
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 |
|||
![]() |
|
Tomasz Grysztar
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.
![]() |
|||
![]() |
|
donkey7
Ok, I'm waiting.
---------------- Keep coding ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.